pandoc-0.46: Conversion between markup formats

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>

Text.Pandoc.Readers.LaTeX

Description

Conversion of LaTeX to Pandoc document.

Synopsis

Documentation

readLaTeXSource

Arguments

:: 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.