Copyright | Copyright (C) 2007-2014 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Conversion of TeX math to a list of Pandoc
inline elements.
- readTeXMath :: String -> [Inline]
- readTeXMath' :: MathType -> String -> [Inline]
Documentation
:: String | String to parse (assumes |
-> [Inline] |
Deprecated: Use readTeXMath' from Text.Pandoc.JSON instead
Converts a raw TeX math formula to a list of Pandoc
inlines.
Defaults to raw formula between $
characters if entire formula
can't be converted. (This is provided for backwards compatibility;
it is better to use readTeXMath'
, which properly distinguishes
between display and inline math.)
:: MathType | |
-> String | String to parse (assumes |
-> [Inline] |
Converts a raw TeX math formula to a list of Pandoc
inlines.
Defaults to raw formula between $
or $$
characters if entire formula
can't be converted.