diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-08-08 16:17:40 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-08-08 16:34:38 -0400 |
commit | a426812cccf4ead88de16eb62c8b8f865a3348e3 (patch) | |
tree | 33e060aebb0a66c417c651c1061eb0a066ee6218 /src/Text/Pandoc/Compat/Directory.hs | |
parent | e5fb97ff4faf9473287499ccf60783cc2d7785e9 (diff) | |
download | pandoc-a426812cccf4ead88de16eb62c8b8f865a3348e3.tar.gz |
OMath parser: Change signature of exported function.
This changes the signature of the exported `readOMML` to `String ->
Either String [Exp]`, so it can now, in theory, be slotted into
TeXMath. It doesn't have any real error reporting yet, but that might
make more sense once I put it in a branch, and understand how it works
in the other readers.
It also now reads strings that parse to either oMath or oMathPara
elements. Note that the distinction is lost in the output. It's up to
the caller to remember the display type.
Diffstat (limited to 'src/Text/Pandoc/Compat/Directory.hs')
0 files changed, 0 insertions, 0 deletions