| Copyright | Copyright (C) 2006-2015 John MacFarlane |
|---|---|
| License | GNU GPL, version 2 or above |
| Maintainer | John MacFarlane <jgm@berkeley.edu> |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
Text.Pandoc.Readers.LaTeX
Description
Conversion of LaTeX to Pandoc document.
- readLaTeX :: ReaderOptions -> String -> Either PandocError Pandoc
- rawLaTeXInline :: LP Inline
- rawLaTeXBlock :: LP String
- inlineCommand :: LP Inlines
- handleIncludes :: String -> IO (Either PandocError String)
Documentation
Arguments
| :: ReaderOptions | Reader options |
| -> String | String to parse (assumes |
| -> Either PandocError Pandoc |
Parse LaTeX from string and return Pandoc document.
rawLaTeXInline :: LP Inline Source #
rawLaTeXBlock :: LP String Source #
inlineCommand :: LP Inlines Source #
handleIncludes :: String -> IO (Either PandocError String) Source #
Replace "include" commands with file contents.