[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: table rows in a galley
From: |
Ludovic Courtès |
Subject: |
Re: table rows in a galley |
Date: |
Thu, 02 Oct 2008 11:14:21 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hi,
"Jennings, Jared L CTR USAF AFMC 46SK/CCI"
<address@hidden> writes:
> ---------
> @SysInclude { doc }
> def @FooGalley {
> @Galley
> @DP
> @FooGalley
> }
> export @Red @Blue
> def @SpecialRed {
> def @Red right x { { red } @Colour x }
> def @Blue right x { { blue } @Colour x }
> @CurveBox {
> this is a @Red { special red } item
> @DP
> @FooGalley
> }
> }
> import @SpecialRed
> def @FooItem into { @FooGalley&&preceding } right x { x }
>
> @Doc @Text @Begin
> 4i @Wide 5i @High @Box @SpecialRed
> @FooItem foo
> @FooItem { @Red bar }
> @End @Text
> ---------
>
> erlang:~/reports $ lout -p foo
> lout file "foo":
> 25,12: symbol @Red unknown or misspelt
>
>
>
>
>
>
>
> this is a special red item
>
> foo
>
> @Red bar
>
>
> ---------
It's the invocation "@FooItem { @Red bar }" that fails: address@hidden' is not a
globally visible symbol. Instead, you should write, e.g.,
"@FooItem { @SpecialRed @Open { @Red bar } }" so that address@hidden' is
actually
visible at the invocation site.
(That doesn't answer the rest of your message, but we'll see that
later. ;-))
Ludo'.