lout-users
[Top][All Lists]

## Re: How to check if a symbol has been defined?

 From: Giovanni Zezza Subject: Re: How to check if a symbol has been defined? Date: Thu, 27 Nov 2003 13:16:46 +0100

```Il Thu, 27 Nov 2003 14:37:13 +0300, Valeriy E. Ushakov scriveva:

>I don't really remember.

>However, note that that example cuts few
>corners to be selfcontained, so may be just tweaking @SysInclude's at
>its start are necessary.  Without specific values for "wasn't able to
>get this work" it's hard to tell. ;)

lout file "fontdefs" (from "prv74.lout" line 1):
1,0: cannot open file fontdefs
lout file "dl" (from "prv74.lout" line 3):
1,0: cannot open file dl
lout file "C:\programmi\lout\3.24\include\docf" (from "prv74.lout" line 4):
14,8: extend symbol @BasicSetup not in scope
14,20: extend symbol @DocumentSetup not in scope
18,26: fatal error: exiting now

I wasn't able to tweak the @SysInclude's, but, for the sample purpose, I
think, all is needed is:

@SysInclude { doc }

Also, I deleted:

@Use { @DocumentLayout @OddLeftMargin { 2.5c @OrIfPlain 0f } }
@Use { @OrdinaryLayout }

This way, it works with Lout 3.24.

Ciao.

```