pandoc-3.6.2: Conversion between markup formats
CopyrightCopyright (C) 2006-2024 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Readers.LaTeX

Description

Conversion of LaTeX to Pandoc document.

Synopsis

Documentation

readLaTeX Source #

Arguments

:: (PandocMonad m, ToSources a) 
=> ReaderOptions

Reader options

-> a

Input to parse

-> m Pandoc 

Parse LaTeX from string and return Pandoc document.

applyMacros :: forall (m :: Type -> Type) s. (PandocMonad m, HasMacros s, HasReaderOptions s) => Text -> ParsecT Sources s m Text Source #

rawLaTeXInline :: forall (m :: Type -> Type) s. (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text Source #

rawLaTeXBlock :: forall (m :: Type -> Type) s. (PandocMonad m, HasMacros s, HasReaderOptions s) => ParsecT Sources s m Text Source #

inlineCommand :: forall (m :: Type -> Type). PandocMonad m => ParsecT Sources ParserState m Inlines Source #