From 9639a33b171a9b280f3c9bbad618d6ddeb5efe6e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 26 Oct 2025 22:43:02 +0100 Subject: Use dev versions of typst-hs, texmath, typst-symbols. --- cabal.project | 10 ++++++++++ stack.yaml | 5 +++++ test/typst-reader.native | 10 ++++++---- test/undergradmath.typ | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/cabal.project b/cabal.project index 7b5aef9ab..645e435ef 100644 --- a/cabal.project +++ b/cabal.project @@ -11,3 +11,13 @@ source-repository-package type: git location: https://github.com/jgm/citeproc.git tag: 1a82c13ac1d8e9e07cf69fbf89ba2b57474b8e0f + +source-repository-package + type: git + location: https://github.com/jgm/typst-hs.git + tag: e6eb442bc0efbe3fcf8c1fe5f28be3f0fb278e8b + +source-repository-package + type: git + location: https://github.com/jgm/texmath.git + tag: 110322589698df20abf3f3a06c070271802ea598 diff --git a/stack.yaml b/stack.yaml index 92b8a0c56..18e761818 100644 --- a/stack.yaml +++ b/stack.yaml @@ -17,8 +17,13 @@ extra-deps: - skylighting-0.14.7 - djot-0.1.2.3 - texmath-0.13.0.1 +- typst-symbols-0.1.9.1 - git: https://github.com/jgm/citeproc.git commit: 1a82c13ac1d8e9e07cf69fbf89ba2b57474b8e0f +- git: https://github.com/jgm/typst-hs.git + tag: e6eb442bc0efbe3fcf8c1fe5f28be3f0fb278e8b +- git: https://github.com/jgm/texmath.git + tag: 110322589698df20abf3f3a06c070271802ea598 ghc-options: "$locals": -fhide-source-paths -Wno-missing-home-modules resolver: lts-24.9 diff --git a/test/typst-reader.native b/test/typst-reader.native index fdfd52d35..57676466f 100644 --- a/test/typst-reader.native +++ b/test/typst-reader.native @@ -3208,7 +3208,7 @@ Pandoc [ Para [ Span ( "" , [ "box" ] , [] ) - [ Math InlineMath "\\hslash" + [ Math InlineMath "\295" , Str "\8192" , Code ( "" , [] , [] ) "planck.reduce" @@ -3610,12 +3610,14 @@ Pandoc [ Para [ Span ( "" , [ "box" ] , [] ) - [ Math InlineMath "\\leftrightarrow" + [ Math + InlineMath "\\longleftrightarrow" , Str "\8192" - , Code ( "" , [] , [] ) "<->" + , Code ( "" , [] , [] ) "<-->" , Str "," , Space - , Code ( "" , [] , [] ) "arrow.l.r" + , Code + ( "" , [] , [] ) "arrow.l.r.long" ] ] ] diff --git a/test/undergradmath.typ b/test/undergradmath.typ index e0daacd3b..a5c21be3e 100644 --- a/test/undergradmath.typ +++ b/test/undergradmath.typ @@ -276,7 +276,7 @@ Use `|` to get set builder notation ${a in S | a "is odd"}$ with `{a in S | a "i cell($->$, [`->`, `arrow.r`]), cell($|->$, [`|->`, `arrow.r.bar`]), cell($arrow.r.not$, `arrow.r.not`), cell($arrow.r.long.bar$, `arrow.r.long.bar`), cell($arrow.r.long$, `arrow.r.long`), cell($<-$, [`<-`, `arrow.l`]), - cell($=>$, [`=>`, `arrow.r.double`]), cell($<->$, [`<->`, `arrow.l.r`]), + cell($=>$, [`=>`, `arrow.r.double`]), cell($<-->$, [`<-->`, `arrow.l.r.long`]), cell($arrow.r.double.not$, `arrow.r.double.not`), cell($arrow.b$, `arrow.b`), cell($arrow.r.double.long$, `arrow.r.double.long`), cell($arrow.t$, `arrow.t`), cell($arrow.squiggly$, `arrow.squiggly`), cell($arrow.t.b$, `arrow.t.b`), -- cgit v1.2.3