Copyright | Copyright (C) 2006-2024 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | Safe-Inferred |
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 -> ParsecT Sources s m Text
- rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text
- rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text
- inlineCommand :: PandocMonad m => ParsecT 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 -> ParsecT Sources s m Text Source #
rawLaTeXInline :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text Source #
rawLaTeXBlock :: (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text Source #
inlineCommand :: PandocMonad m => ParsecT Sources ParserState m Inlines Source #