Interpreting line-breaks in table-cell ?

Subject: Interpreting line-breaks in table-cell ?
From: Philippe CASIDY <pcasidy@xxxxxxxxxxx>
Date: Mon, 6 Sep 1999 16:48:41 +0200 (CEST)
Hi DSSSL users!

I am encounting a little problem with table-cells and line-breaks.

In my sgml document, I have something like this:

<EITEM>
....
<DESC>
Here are a few elements:
- an element
- another element
- and so on
</DESC>


And in my DSSSL I try something like this:

(element EITEM
	(make table
		(make table-column
			column-number:	1
			width:	3cm
		)
		(make table-column
			column-number:	2
			width: 15cm
		)
		(make table-cell
			column-number:	1
			(make paragraph
				lines:	'asis
				(sosofo-append
					(literal (data (select-elements (descendants (current-node)) "DATE")) )
					(make paragraph-break)
					(literal (data (select-elements (descendants (current-node)) "DURATION")) )
				)
			)
		)
		(make table-cell
			column-number:	2
			(make paragraph
				lines:	'asis
				(sosofo-append
					(literal (data (select-elements (descendants (current-node)) "TITLE")))
					(literal " {")
					(literal (data (select-elements (descendants (current-node)) "WHERE")))
					(literal "}")
					(make paragraph-break)
					(literal (data (select-elements (descendants (current-node)) "DESC")))
				)
			)
		)
	)
)

I am using jade with TeX backend and in my second column, I have my
text for the <DESC> with no linebreaks even though I precise line:
'asis.

If anybody has any clue!

Thanks a lot,

Phil.



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


Current Thread