Dear all, I would expect this to be exported to HTML and LaTeX correctly: "A $k$-ary function has $k$ arguments" In 12.5.1 LaTeX fragments, this use of a hyphen is documented: "To avoid conflicts with currency specifications, single ‘$’ characters are only recognized as math delimiters if the enclosed text contains at most two line breaks, is directly attached to the ‘$’ characters with no whitespace in between, and if the closing ‘$’ is followed by whitespace, punctuation or a dash." However, the HTML export result contains "A $k$-ary function has \(k\) arguments", which is not rendered correctly. The first two dollar signs should be replaced as well. The LaTeX result contains "A \$k\$-ary ...", which produces literal dollar signs, not math mode. In contrast, "A \(k\)-ary..." works. This happens with Org mode version 9.6.15 and with 9.7-pre (release_9.6.24-1336-gc8d133 @ ...). Recipe: emacs -Q (add-to-list 'load-path "~/src/org-mode/lisp") Then export an Org buffer/file with the above line: C-c C-e h h C-c C-e l l Best wishes, Jens