pandoc-1.5: 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 (assumes '\n' line endings)

-> 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 StringSource

Parse any LaTeX environment and return a string containing the whole literal environment as raw TeX.