summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-12-08 13:09:44 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2023-12-08 13:10:33 -0800
commite46c3e68d2be9c6407476985e3f20e74fc6c79d2 (patch)
tree1602a9abd8d063bc79995bc81e9098f64c041c83
parent09d0208da3183bc9cc16bdb89808da705b5a63d1 (diff)
Update typst-hs commit and typst writer test.
-rw-r--r--cabal.project2
-rw-r--r--stack.yaml2
-rw-r--r--test/writer.typst6
3 files changed, 5 insertions, 5 deletions
diff --git a/cabal.project b/cabal.project
index 51ff3addb..081ce958e 100644
--- a/cabal.project
+++ b/cabal.project
@@ -28,4 +28,4 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/jgm/typst-hs
- tag: 2a92d6b61b077ad6eaff857f45aa50004658082e
+ tag: eb825682d11ae9de911461f44122e1dbf944da52
diff --git a/stack.yaml b/stack.yaml
index a5d683ebe..489b5b0c0 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -27,7 +27,7 @@ extra-deps:
- tls-1.9.0
- commonmark-0.2.4
- git: https://github.com/jgm/typst-hs
- commit: 2a92d6b61b077ad6eaff857f45aa50004658082e
+ commit: eb825682d11ae9de911461f44122e1dbf944da52
- git: https://github.com/jgm/commonmark-hs
subdirs: [commonmark-extensions, commonmark-pandoc]
commit: 0c4807c92b94b1b5ac0f0845daac276ab9d3495f
diff --git a/test/writer.typst b/test/writer.typst
index edcc87cc8..ad6ff1c9d 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -621,14 +621,14 @@ Ellipses…and…and….
= LaTeX
<latex>
-
-- $2 plus 2 eq 4$
+- $2 + 2 = 4$
- $x in y$
- $alpha and omega$
- $223$
- $p$-Tree
- Here’s some display math:
- $ frac(d, d x) f lr((x)) eq lim_(h arrow.r 0) frac(f lr((x plus h)) minus f lr((x)), h) $
-- Here’s one that has a line break in it: $alpha plus omega times x^2$.
+ $ frac(d, d x) f lr((x)) = lim_(h arrow.r 0) frac(f lr((x + h)) - f lr((x)), h) $
+- Here’s one that has a line break in it: $alpha + omega times x^2$.
These shouldn’t be math: