Copyright | Copyright (C) 2006-2021 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Conversion of LaTeX to Pandoc
document.
Synopsis
- readLaTeX :: PandocMonad m => ReaderOptions -> Text -> m Pandoc
- applyMacros :: (PandocMonad m, HasMacros s, HasReaderOptions s) => Text -> ParserT Text s m Text
- rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Text s m Text
- rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Text s m Text
- inlineCommand :: PandocMonad m => ParserT Text ParserState m Inlines
Documentation
:: PandocMonad m | |
=> ReaderOptions | Reader options |
-> Text | String to parse (assumes |
-> m Pandoc |
Parse LaTeX from string and return Pandoc
document.
applyMacros :: (PandocMonad m, HasMacros s, HasReaderOptions s) => Text -> ParserT Text s m Text Source #
rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Text s m Text Source #
rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Text s m Text Source #
inlineCommand :: PandocMonad m => ParserT Text ParserState m Inlines Source #