Re: macros - where to define them?
Valery Ushakov <[email protected]> Sun, 24 Apr 2016 15:21:37 +0300
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 24, 2016 at 13:14:59 +0200, Oliver Bandel wrote:
> ... some definitons, used in own include-files
> (mydefs or changed document-styles, "doc" for example)
> don't know some symbols, so I can't use @R for example, or @CurveBox.
>
> Is the export-keyword the way out?
>
> Where to use it, I'm not sure, how to make things working easily.
May be it's time to read the Expert's Guide? All the relevant
material about lout-the-language is in the 10 pages at the beginning
of Chaper 2.
> One example of problems:
>
> If have
> macro @REAL { @Outline @R R }
> inside mydefs, I get the err-msg:
mydefs is included by "doc" before it @Use's relevant symbols, so
inside mydefs you need to import @BasicSetup yourself.
-uwe