Module parser

Source
Expand description

Contains the Parser, which Transforms input LaTeX into a stream of Result<Event, ParserError>.

The parser is used as an iterator, and the events it generates can be rendered by a renderer. The mahtml renderer provided by this crate is available through push_mathml and write_mathml.

Modules§

error
Error type returned by the parser upon failure.
storage
Storage for the parser to expand macros call into.

Structs§

Parser
The parser completes the task of transforming the input LaTeX into a symbolic representation, namely a stream of Events.