emacs-orgmode
[Top][All Lists]
Advanced

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

Re: (Feature Request) have org-edit-special work inside non-environment


From: Nicolas Goaziou
Subject: Re: (Feature Request) have org-edit-special work inside non-environment LaTeX blocks, i.e. \( \) and \[ \]
Date: Mon, 25 May 2020 09:11:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

TEC <address@hidden> writes:

> I thought that too initially. The think is you actually want them in the LaTeX
> buffer so they get treated as mathematics instead of text.

Indeed!

Still, END is not correct, because it includes white space after the
object. So, you probably need something like:

  (end (org-with-point-at (org-element-property :end datum)
        (skip-chars-backward " \t")
        (point)))

Regards,

-- 
Nicolas Goaziou



reply via email to

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