lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: table rows in a galley


From: Valeriy E. Ushakov
Subject: Re: table rows in a galley
Date: Fri, 3 Oct 2008 19:15:44 +0400
User-agent: Mutt/1.4.2.3i

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
-- 
address@hidden                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]