Module texlang_stdlib::script

source ·
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 written to an IO writer.

Structs

Functions

  • Get the \newline command.
  • Get the \par command.
  • Run the Texlang interpreter for the provided VM and return the result as list of tokens.
  • Run the Texlang interpreter for the provided VM and return the result as a string.