On 21/03/2023 23:38, Rudolf Adamkovič wrote:
Funny, I the exact opposite of you; I would pay many to see $...$th and
$...$-th special-cased (with tests, so that it would not break again).
I do not think it is realistic. It may require models for various
natural languages and for math expressions. It would be necessary to
carefully track modifications of text to avoid performance degradation.
Example of false positive:
Topi Mäenpää to emacs-orgmode. Bug report. Wed, 01 Jun 2022 07:53:21
+0000.
https://list.orgmode.org/icEsGOcGni6qhFgjvChMB6qVwr3XpnZv2tcVWApPXwOWkntHtLmKOBeQKB4LPTqeXcMHTeIkyHv9JurAqJzTgjLm4s-HTODJ6h6p4QDMydU=@protonmail.com
Till somebody will demonstrate reliable recognition of "$n$th" you may
use zero-width space after "$" and an export filter that removes these
separators.
Personally, I would prefer more strict syntax to avoid zero width spaces
even if it will require more verbose markup.