Expected output: $1.$. This is considered a valid formula by both typst and LaTeX.
This is a minimal example, but the issue occurs quite commonly in practice. A more realistic example is a display formula at the end of a sentence, something like this:
Thus we obtain a short exact sequence
$ 0 -> A -> B -> C -> 0. $
Pandoc version?
I am using pandoc 3.2.1 on PopOS. The issue also appears in the online version.
Explain the problem. Running
pandoc --from typst --to latex -
and entering$1.$
results in parsing error:Expected output:
$1.$
. This is considered a valid formula by both typst and LaTeX.This is a minimal example, but the issue occurs quite commonly in practice. A more realistic example is a display formula at the end of a sentence, something like this:
Pandoc version?
I am using
pandoc 3.2.1
on PopOS. The issue also appears in the online version.