Next: Including Perl Previous: Special option: smart Contents: Contents |
Nested sources may declare variables of their own, possibly overwriting already assigned values. Option localize
works like Perls local()
: such changes will be reversed after the nested source will have been completely processed - so the original values will be restored. You can specify a comma separated list of variable names or the special string __ALL__
which flags that the current settings shall be restored completely.
\INCLUDE{type=PP file="nested.pp" localize=myVar} \INCLUDE{type=PP file="nested.pp" localize="var1, var2, var3"} \INCLUDE{type=PP file="nested.pp" localize=__ALL__} |
Next: Including Perl Previous: Special option: smart Contents: Contents |