texmath 0.8 → 0.8.0.1
raw patch · 3 files changed
+19/−3 lines, 3 filesdep +network-uridep ~network
Dependencies added: network-uri
Dependency ranges changed: network
Files
- changelog +8/−0
- src/Text/TeXMath/Readers/OMML.hs +1/−1
- texmath.cabal +10/−2
changelog view
@@ -1,3 +1,11 @@+texmath (0.8.0.1)++ * Added network-uri flag. This addresses the split of network+ and network-uri packages.+ * OMML reader: change default accent (Jesse Rosenthal).+ The default had previously been set as accute (possibly as a+ placeholder). It appears to be circumflex/hat instead.+ texmath (0.8) * Added OMML reader (Jesse Rosenthal).
src/Text/TeXMath/Readers/OMML.hs view
@@ -233,7 +233,7 @@ Just . head chr' = case chr of Just c -> c- Nothing -> '\180' -- default to acute.+ Nothing -> '^' -- default to hat. baseExp <- filterChildName (hasElemName "m" "e") element >>= elemToBase return $ [EOver False baseExp (ESymbol Accent [chr'])]
texmath.cabal view
@@ -1,5 +1,5 @@ Name: texmath-Version: 0.8+Version: 0.8.0.1 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between formats used to represent mathematics.@@ -76,6 +76,10 @@ description: Compile test executable. default: False +Flag network-uri+ description: Get Network.URI from the network-uri package+ default: True+ Library Build-depends: xml, parsec >= 3, containers, pandoc-types >= 1.12.3.3 , mtl if impl(ghc >= 6.10)@@ -120,9 +124,13 @@ if flag(executable) Buildable: True Build-Depends: base >= 4.5 && < 5, texmath, xml, pandoc-types,- network, split, aeson, bytestring, text+ split, aeson, bytestring, text else Buildable: False+ if flag(network-uri)+ Build-Depends: network-uri >= 2.6+ else+ Build-Depends: network < 2.6 Test-Suite test-texmath Type: exitcode-stdio-1.0