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, ToSources a) => ReaderOptions -> a -> m Pandoc
- applyMacros :: (PandocMonad m, HasMacros s, HasReaderOptions s) => Text -> ParserT Sources s m Text
- rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Sources s m Text
- rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Sources s m Text
- inlineCommand :: PandocMonad m => ParserT Sources ParserState m Inlines
Documentation
:: (PandocMonad m, ToSources a) | |
=> ReaderOptions | Reader options |
-> a | Input to parse |
-> m Pandoc |
Parse LaTeX from string and return Pandoc
document.
applyMacros :: (PandocMonad m, HasMacros s, HasReaderOptions s) => Text -> ParserT Sources s m Text Source #
rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Sources s m Text Source #
rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParserT Sources s m Text Source #
inlineCommand :: PandocMonad m => ParserT Sources ParserState m Inlines Source #