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_pfbandparse_tfmallow developers to load binary PFB font data and raw TFM metric data into structuredPfbDataandTfmDataobjects.- 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, andparse_integerread TeX dimensions, glue specifications, and integer constants directly from the expander token stream.