Re: jade/jadetex with tables (was: Re: jade/jadetex & 2 questions)

Subject: Re: jade/jadetex with tables (was: Re: jade/jadetex & 2 questions)
From: Peter Nilsson <pnidv96@xxxxxxxxxxxxxx>
Date: Sat, 22 May 1999 13:28:20 +0200 (CEST)
On 21 May 1999, Joerg Wittenberger wrote:

[...]

> (element mesg
>  (make table
>    before-row-border: #f
>    after-row-border: #f
>    before-column-border: #f
>    after-column-border: #f
>    (make table-row
>     (make table-cell
>      width: 2.5cm
>           (literal (data (select-elements (children (current-node))
> 					  (normalize "MesgNo")))))
>     (make table-cell
>       width: (table-width 1)
> 	  (process-children)))))

The DSSSL spec says that a table-cell only accepts flow objects that "can
be displayed." The literal function returns a sosofo specifying character
flow objects, which can only be inlined. So, shouldn't the content of the
table-cell be put inside a paragraph or something that can be displayed?
Maybe the TeX backend assumes a correct FOT. Could someone please correct
me if I'm wrong.

One improvement we should make in jade is check that fos are accepted
(this is already documented). This should be done in the front end, so
that the back ends can assume a correct FOT.

Regards,
/Peter

--
'(?P . (?e . (?t . (?e . (?r)))))


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


Current Thread