texmath 0.8.6.3 → 0.8.6.4
raw patch · 3 files changed
+12/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog +5/−0
- src/Text/TeXMath/Readers/TeX.hs +6/−0
- texmath.cabal +1/−1
changelog view
@@ -1,3 +1,8 @@+texmath (0.8.6.4)++ * Handle equation environment (without numbering). This is similar+ to the way we handle environments like align.+ texmath (0.8.6.3) * Use POST instead of GET for texmath-cgi.
src/Text/TeXMath/Readers/TeX.hs view
@@ -368,6 +368,7 @@ , ("multline", gather) , ("gather", gather) , ("gathered", gather)+ , ("equation", equation) ] mbArrayAlignments :: TP (Maybe [Alignment])@@ -397,6 +398,11 @@ gather = do rows <- sepEndBy arrayLine endLine return $ EArray (alignsFromRows AlignCenter rows) rows++equation :: TP Exp+equation = do+ notFollowedBy (ctrlseq "end" >> return '\n')+ manyExp (notFollowedBy endLine >> expr) eqnarray :: TP Exp eqnarray = do
texmath.cabal view
@@ -1,5 +1,5 @@ Name: texmath-Version: 0.8.6.3+Version: 0.8.6.4 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between formats used to represent mathematics.