emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hyphen after LaTeX fragments


From: Ihor Radchenko
Subject: Re: Hyphen after LaTeX fragments
Date: Wed, 22 Mar 2023 12:25:18 +0000

Dominik Schrempf <dominik.schrempf@gmail.com> writes:

> Maybe the best thing to do is drop support for $...$ completely?

We cannot do it. Otherwise, existing Org documents may be broken.

> I quote the Org mode manual section about $...$ syntax:
>
>     Text within the usual LaTeX math delimiters. 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. For the other delimiters, there
>     is no such restriction, so when in doubt, use ‘\(...\)’ as inline
>     math delimiters.
>
> I think this is HIGHLY confusing. I think we should write something
> along the lines: "Do not use $...$. Only for reasons of backwards
> compatibility, $...$ syntax is partly (!) supported."

Feel free to provide a patch.


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]