Download FWEB manual - (La)TeX Navigator

Transcript
—
Preprocessor commands
—
163
20.12.21 Preprocessor commands
WEB preprocessor commands may appear in either the definition or the code part. But beware: No
matter where they appear, they are expanded during input, not output.
@#define identifier — Define a WEB macro; equivalent to ‘@m’.
@#undef identifier — Undefine a WEB macro.
@#ifdef identifier — Is WEB macro defined? Equivalent to ‘@#if defined identifier’.
@#ifndef identifier — Is WEB macro not defined? Equivalent to ‘@#if !defined identifier’.
@#if expression
@#elif expression
@#else
@#endif