Expand description
Tools for converting TeX’s internal data structures to Boxworks.
Knuth’s TeX has a bunch of diagnostic tooling for inspecting the internal data structures in its typesetting engine. This module contains functions that read the diagnostic output of Knuth’s TeX and reconstruct TeX’s internal data structures as Boxworks data structures. The initial motivation is to verify that subsystems of TeX and Boxworks – like the subsystem that converts text into a horizontal list – are doing the same thing.
These functions require that TeX is installed because they ultimately invoke TeX to generate the right diagnostic information.
Structs§
- Binary
NotFound - Error return when a binary on the host computer was not found.
Traits§
- TexEngine
- Implementations of this trait can run TeX source code and return stdout.
Functions§
- build_
horizontal_ lists - Build horizontal lists from some text.
- build_
vertical_ lists - Build verticals list from some text.
- new_
tex_ engine_ binary - A TeX engine binary on the host computer, like
texorpdftex.