line-field usage

Subject: line-field usage
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 2 Dec 1999 11:46:46 -0000
I have a wrapper <progress> which contains para elements.

I'm  being asked for an appearance of:

Progress     para begins here, not on line below
	      and wraps to 1.5 inches.
	      Other paras need to follow here



With the code below I get everything I need except
for the first line, which of course starts on  the line
below the literal 'Progress'.

Could anyone suggest how I can either
a) Recognise the 'first para child' of  element progress
and process it with the parent ( a  (process-children)
only ) or...

Some other solution?

Any help appreciated.

regards DaveP



(element (progress para)
 (make paragraph
   start-indent: 1.5in   
    first-line-start-indent: 0in
    (process-children)))


(element progress 
 (make paragraph
   start-indent: 1.5in   
    first-line-start-indent: -1.5in
    (make sequence
    (make line-field
      field-width: 1.5in
      (literal "Progress"))
      (process-matching-children "para"))))
 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread