jgm / typst-hs

Haskell library for parsing and evaluating typst
Other
44 stars 5 forks source link

Incorrect LaTeX exponent syntax for Typst input in Pandoc conversion #29

Closed vlashada closed 10 months ago

vlashada commented 10 months ago

Explain the problem. When converting typst to pandoc, I get that the typst code $overline(a)$ is translated into \(\underset{¯}{a}\), which does not seem to be correct

To reproduce:

echo "\$overline(a)\$" | pandoc -f typst -t latex

Pandoc version? Pandoc 3.1.9

jgm commented 10 months ago

This has already been fixed (jgm/pandoc#9294). But it's not yet in a released version. You can try a nightly. (PS. It's an issue in pandoc, not typst-hs.)