[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hyphen after LaTeX fragments
From: |
Max Nikulin |
Subject: |
Re: Hyphen after LaTeX fragments |
Date: |
Tue, 14 Mar 2023 18:12:20 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
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.fsf@gmail.com
- Hyphen after LaTeX fragments, Yuchen Guo, 2023/03/14
- Hyphen after LaTeX fragments, Yuchen Guo, 2023/03/14
- Re: Hyphen after LaTeX fragments, iemacs, 2023/03/19
- Re: Hyphen after LaTeX fragments, Rudolf Adamkovič, 2023/03/21
- Re: Hyphen after LaTeX fragments, Dominik Schrempf, 2023/03/21
- Re: Hyphen after LaTeX fragments, Ihor Radchenko, 2023/03/22
- Re: Hyphen after LaTeX fragments, Dominik Schrempf, 2023/03/22
- Re: Hyphen after LaTeX fragments, Ihor Radchenko, 2023/03/22
- Re: Hyphen after LaTeX fragments, Yuchen Guo, 2023/03/21
- Re: Hyphen after LaTeX fragments, Ihor Radchenko, 2023/03/22
Hyphen after LaTeX fragments, Yuchen Guo, 2023/03/14