On 14/03/2023 14:02, Yuchen Guo wrote:
Sometimes I encounter such texts:
One of the useful features of a basis $B$ in an $n$-dimensional space
When entered as-is in Org mode and exported to LaTeX, the string
"$n$-dimensional" is exported as plain text, as
One of the useful features of a basis \(B\) in an \$n\$-dimensional space
I assume "\(n\)-dimensional".
In cases such as "$n$;" and "$n$.", they are correctly exported as
"\(n\);" and "\(n\).".
So, are there any option that can be tweaked to export "$MATH$-text"
correctly?
Consider "$M$" as deprecated. Balance of lightweight markup and
heuristics to distinguish literal symbols and markup markers is quite
subtle. Dash detection is broken for a long time despite the manual
still says that it is supported:
Max Nikulin to emacs-orgmode. Re: [PATCH] Add support for $…$ latex
fragments followed by a dash. Tue, 1 Feb 2022 21:26:50 +0700.
https://list.orgmode.org/stbfvc$3rs$1...@ciao.gmane.io
That thread contains examples what may be false positives, e.g.
Max Nikulin to emacs-orgmode. Re: [PATCH] Add support for $…$ latex
fragments followed by a dash. Sun, 30 Jan 2022 22:28:38 +0700.
https://list.orgmode.org/st6ar8$tjk$1...@ciao.gmane.io
Another thread:
Timothy to emacs-orgmode… Re: Depreciating TeX-style LaTeX fragments
(was: Org Syntax Specification) Sun, 16 Jan 2022 00:36:35 +0800.
https://list.orgmode.org/87lezgly20....@gmail.com