emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Add support for $…$ latex fragments followed by a dash


From: Sébastien Miquel
Subject: Re: [PATCH] Add support for $…$ latex fragments followed by a dash
Date: Wed, 26 Jan 2022 17:49:06 +0000

Hi,

Tom Gillespie writes:
Unfortunately this falls into the realm of changes to syntax. The current
behavior is not a bug and is working as specified because hyphen minus
(U+002D) does not count as punctuation for the purposes of org syntax.
We should specify which chars count as punctuation in the syntax doc.
As noted by Eric \(\) has no such restrictions.

>From https://orgmode.org/worg/dev/org-syntax.html#Entities_and_LaTeX_Fragments
POST is any punctuation (including parentheses and quotes) or space character, or the end of line.

With this patch, I also propose to change the specification
accordingly. The change is local and minor.

Regards,

-- 
Sébastien Miquel

reply via email to

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