Subject: Re: Getting a NewLine From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx> Date: Tue, 21 Apr 1998 14:15:44 -0400 (EDT) |
At 21 Apr 1998 13:28 -0400, Chuck Darney wrote: > Does anyone have a suggestion for getting a new line in the document? > When the markup is reached, I want to force a line break with the same > spacing as if the text wrapped at the end of the line. I currently do: > > (element LF > (make paragraph > line spacing: .1pt > (make sequence > (literal " ") > (process-children))) > > This worked until I added the "min-leading" characteristic to solve > another problem. Does anyone else have a suggestion for getting the > effect of a "return"? Use a paragraph-break flow object. A paragraph-break flow object is allowed only in paragraph flow objects. The standard states "All the characteristics that are applicable to a paragraph flow object are also applicable to a paragraph-break flow object". With Jade, and contrary to my expectation, this means *all* the characteristics of the containing paragraph flow object, including the otherwise non-inherited space-before and space-after characteristics, are inherited by a paragraph-break flow object. When I want to use paragraph-break as you do, I use the enclosing paragraph flow object within a display-group flow object, and I specify the space-before and space-after on the display-group so they're not "inherited" from the paragraph by the paragraph-break. Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@xxxxxxxxxxxxxxxx ======================================================================= DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Getting a NewLine, Chuck Darney | Thread | RE: Getting a NewLine, Pawson, David |
Getting a NewLine, Chuck Darney | Date | RE: Getting a NewLine, Pawson, David |
Month |