Re: table rows in a galley

"Valeriy E. Ushakov" <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
On Thu, Oct 02, 2008 at 08:46:28 -0500, Jennings, Jared wrote:

> def @FooGalley { @Galley @FooGalley }
> def @MyTbl {
>     @Tbl rh { yes } w { expand }
>          aformat { @Cell A | @Cell B }
>     {
>         @Rowa A { country } B { population }
>         @FooGalley
>     }
> }
> def @Country into { @FooGalley&&preceding }
>         named name {} named population {} {
>     @Tbl {} @Open { @Rowa A { name } B { population } } }

There are several problems with this (though my Lout is getting quite
rusty, so take this with a grain of salt).

First, @Rowa inside @Country gets the formatting from the @Tbl
instance you @Open, not from the "target" table, and so that @Rawa is
effectively a no-op.

Second, your @FooGalley must use vertical concatenation (inside the
definition and in @MyTbl).

Third, if you fix the two above you will run into the requirement for
a galley to have single column mark - which ruins the table that
requires separate column marks to line up table columns.

SY, Uwe
-- 
[email protected]                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.