Portability | portable |
---|---|
Stability | alpha |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Conversion of LaTeX to Pandoc
document.
Documentation
:: ParserState | Parser state, including options for parser |
-> String | String to parse |
-> Pandoc |
Parse LaTeX from string and return Pandoc
document.
rawLaTeXInline :: GenParser Char ParserState InlineSource
Parse any LaTeX command and return it in a raw TeX inline element.
rawLaTeXEnvironment :: GenParser Char st BlockSource
Returns text between brackets and its matching pair.
Returns an option or argument of a LaTeX command.
True if the string begins with '{'.
Returns list of options and arguments of a LaTeX command.
Parses LaTeX command, returns (name, star, list of options or arguments).
Returns a list of block elements containing the contents of an environment.
Process LaTeX preamble, extracting metadata.
Parse LaTeX and return Pandoc
.
Parse any LaTeX environment and return a Para block containing the whole literal environment as raw TeX.