Variables

A variable identifies stored content, strings or values that can be subsequently referenced from within custom content. The content of a variable is referenced by enclosing the variable name within a { and } bracket pair.

There are four types of variables:

Type Description Example
User Contain values or strings assigned using the <set/> command or <stack/> command. {MyVar}
Attribute Contain the value of an attribute defined within the current mapped tag or custom marker. {@date}
System Contain a runtime value or string generated by TopLeaf during typesetting. {toc-file}
Environment Contain the values of environment variables declared by the operating system. {$PATH}