lout-users
[Top][All Lists]
Advanced

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

Re: Extended options in headers and footers


From: Jeff Kingston
Subject: Re: Extended options in headers and footers
Date: Tue, 25 Sep 2007 10:23:04 +1100

> def @Auth2 { @Auth }

Lout has a funny lexical structure, @Auth2 is two tokens, @Auth and 2.
So you need @AuthTwo or something instead of @Auth2.

Also, a symbol defined inside another symbol is only visible within
that symbol, not globally visible.  You can use the @Open symbol
from the expert's guide to get at it.  But even so, when you write

    @OtherInfos
       @Auth { Adrien Feix }
    @Report...

what you have is a paragraph with two objects in it separated by
white space, which is not going to work.  You have to place
@OtherInfos somewhere where it won't do harm, such as in a database
or buried in the body text of the document.

Did you say you were a LaTex user?  You seem to be following the
TeX macro model, which is not what Lout does.  If you want to
write this kind of stuff (i.e. more than just defining a symbol
and invoking it), you need to read the Expert's Guide.

Jeff


reply via email to

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