Module boxworks::tex

source ·
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§

  • Error return when a binary on the host computer was not found.

Traits§

  • Implementations of this trait can run TeX source code and return stdout.

Functions§