Closed pi3141 closed 1 day ago
When using comma as decimal separator (as it used to be in french), Pandoc produce an error when typst is used as pdf engine.
For example test.md :
# Some math $\frac{1,6}{2,8}$
when running command : pandoc test.md --pdf-engine=typst -o test.pdf
pandoc test.md --pdf-engine=typst -o test.pdf
produce :
┌─ toPdfViaTempFile61817-0.html:128:13 │ 128 │ $frac(1 , 6, 2 , 8)$ │ ^ Error producing PDF.
Pandoc version? Running pandoc 3.5 on debian bookworm
Looks like we need to escape these commas in producing typst output:
$frac(1 \, 6, 2 \, 8)$
works.
When using comma as decimal separator (as it used to be in french), Pandoc produce an error when typst is used as pdf engine.
For example test.md :
when running command :
pandoc test.md --pdf-engine=typst -o test.pdf
produce :
Pandoc version? Running pandoc 3.5 on debian bookworm