Expand description
Support for running TeX scripts.
This module enables using TeX as a scripting language. TeX files are processed using the usual TeX semantics, but instead of typesetting the result and outputting it to PDF (say), the output is returned as a list of tokens. These can be easily converted to a string using texlang::token::write_tokens.
Structs§
Functions§
- get_
newline - Get the
\newline
command. - get_par
- Get the
\par
command. - run
- Run the Texlang interpreter for the provided VM and return the result as list of tokens.
- run_
and_ write - Run the Texlang interpreter for the provided VM and write the tokens as strings to the provided writer.
- set_
allow_ undefined_ command