Interface ParserOptions

LaTeX parser options.

Hierarchy

Properties

enableComment?: boolean

All the comments in the LaTeX document will be extracted into a returned AST also.

Default

false
enableMathCharacterLocation?: boolean

The location property will be available for MathCharacter.

Default

false
startRule?: "Root" | "Preamble"

Specifies a rule with which the parser begins. If 'Root' is set, the whole document is parsed. If 'Preamble' is set, only the preamble is parsed.

Default

'Root'
timeout?: number | TimeKeeper
tracer?: Tracer

Generated using TypeDoc