Aspose.TeX FOSS for Python

Requires Python 3.10 or later. Install with pip install aspose-tex>=26.5. No external dependencies.

Select a section to begin:

Key capabilities

  • parse_pfb and parse_tfm allow developers to load binary PFB font data and raw TFM metric data into structured PfbData and TfmData objects.
  • The Expander class implements the TeX macro-expansion engine, allowing macros to be defined, token streams to be pushed, and the next token to be inspected with peek().
  • exec_par finalises the current paragraph and runs line breaking, producing the typeset lines for the document.
  • The parsing utilities parse_dimen, parse_glue, and parse_integer read TeX dimensions, glue specifications, and integer constants directly from the expander token stream.
 English