texmath 0.6.4 → 0.6.5
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- Text/TeXMath.hs +2/−1
- texmath.cabal +1/−1
Text/TeXMath.hs view
@@ -41,4 +41,5 @@ texMathToPandoc :: DisplayType -> String -> Either String [Inline] texMathToPandoc dt inp = inp `seq` either Left (Right . maybe fallback id . toPandoc dt) $ parseFormula inp- where fallback = [Str $ "$" ++ inp ++ "$"]+ where fallback = [Str $ delim ++ inp ++ delim]+ delim = case dt of { DisplayInline -> "$"; DisplayBlock -> "$$" }
texmath.cabal view
@@ -1,5 +1,5 @@ Name: texmath-Version: 0.6.4+Version: 0.6.5 Cabal-Version: >= 1.6 Build-type: Custom Synopsis: Conversion of LaTeX math formulas to MathML or OMML.