texmath 0.13.0.1 → 0.13.0.2
raw patch · 6 files changed
+29/−6 lines, 6 filesdep ~typst-symbols
Dependency ranges changed: typst-symbols
Files
- changelog.md +8/−0
- src/Text/TeXMath/Writers/Typst.hs +1/−0
- test/regression/245b.test +3/−3
- test/regression/275.test +14/−0
- test/writer/typst/13.test +1/−1
- texmath.cabal +2/−2
changelog.md view
@@ -1,3 +1,11 @@+texmath (0.13.0.2)++ * Escape ; in typst output (#275).++ * Update tests for latest typst symbols.++ * Require typst-symbols 0.1.9.1.+ texmath (0.13.0.1) * TeX reader: fix parsing of primes (#273).
src/Text/TeXMath/Writers/Typst.hs view
@@ -79,6 +79,7 @@ needsEscape '/' = True needsEscape '\\' = True needsEscape ',' = True -- #242+ needsEscape ';' = True -- #275 needsEscape _ = False escInQuotes :: Text -> Text
test/regression/245b.test view
@@ -102,9 +102,9 @@ upright("^\\backprime") x^prime.rev\ upright("^\\backdprime") x^prime.double.rev\ upright("^\\backtrprime") x^prime.triple.rev\-upright("^\\hyphenbullet") x^(⁃)\+upright("^\\hyphenbullet") x^bullet.hyph\ upright("^\\ast") x^(*)\ upright("^\\vysmwhtcircle") x^compose\ upright("^\\vysmblkcircle") x^circle.filled.small\-upright("^\\llcorner") x^\⌞\-upright("^\\ulcorner") x^\⌜\+upright("^\\llcorner") x^corner.l.b\+upright("^\\ulcorner") x^corner.l.t\
+ test/regression/275.test view
@@ -0,0 +1,14 @@+<<< native+[ EDelimited+ "{"+ ""+ [ Right+ (EArray+ [ AlignLeft , AlignLeft ]+ [ [ [ EIdentifier "a" ] , [ ESymbol Pun ";" ] ]+ , [ [ EIdentifier "b" ] , [ EIdentifier "c" ] ]+ ])+ ]+]+>>> typst+cases(delim: "{", a & \;, b & c)
test/writer/typst/13.test view
@@ -54,4 +54,4 @@ (EGrouped [ EIdentifier "n" , ESymbol Ord "!" ]) ] >>> typst-zws_p F_q (a_1 \, dots.h \, a_p ; c_1 \, dots.h \, c_q ; z) = sum_(n = 0)^oo frac((a_1)_n dots.h.c (a_p)_n, (c_1)_n dots.h.c (c_q)_n) frac(z^n, n !)+zws_p F_q (a_1 \, dots.h \, a_p \; c_1 \, dots.h \, c_q \; z) = sum_(n = 0)^oo frac((a_1)_n dots.h.c (a_p)_n, (c_1)_n dots.h.c (c_q)_n) frac(z^n, n !)
texmath.cabal view
@@ -1,5 +1,5 @@ Name: texmath-Version: 0.13.0.1+Version: 0.13.0.2 Cabal-Version: >= 1.10 Build-type: Simple Synopsis: Conversion between math formats.@@ -80,7 +80,7 @@ pandoc-types >= 1.20 && < 1.24, mtl >= 2.2.1, text,- typst-symbols >= 0.1.8.1 && < 0.1.9,+ typst-symbols >= 0.1.9.1 && < 0.1.10, split Exposed-modules: Text.TeXMath,