lout-users
[Top][All Lists]
Advanced

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

Re: numbers in @Diag names


From: Mark Summerfield
Subject: Re: numbers in @Diag names
Date: Fri, 9 Mar 2007 15:24:08 +0000
User-agent: KMail/1.9.6

On Fri 9-Mar-07, Joe Beach wrote:
> Hello,
>
> I use @Diag to make figures, and it is often convenient to name objects
> in the diagram with numbers, such as:
>
> ITEM1::@Box translate {NW to 0,1} {something}
> ITEM2::@Box translate {W to address@hidden {something 2}
> ITEM3::@Box translate {W to address@hidden {something 3}
>
> I sometimes run into problems with numbers in the names, in which lout
> gives an error and won't generate the diagram. If I change the names to
> something like ITEMONE, ITEMTWO, ITEMTHREE, then things work okay. Have
> other people observed this sort of behavior? I'd like to use the numbers
> because it lets me use while loops and counters in a script to place an
> array of objects on a page.

Being able to use numbers would be v. convenient... but you must be
careful. According to the user manual (pg. 198) you should only use
uppercase letters, and if you use digits then you must enclose the tag
in quotes, e.g. "address@hidden".


-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu




reply via email to

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