emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home


From: Sébastien Miquel
Subject: [PATCH] Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]
Date: Tue, 31 Aug 2021 15:13:02 +0000

Hi,

Ihor Radchenko writes:
Dávid Jakab <djakab314@gmail.com> writes:
When using org-edit-special to edit inline latex, i.e., equations
between \( and \), in an org-mode buffer, a number of
spaces may get inserted before \( after the latex editing minibuffer is
closed.
The attached patch fixes this as well as a couple other issues with special
editing of latex fragments :
 + the coordinates computation was wrong, so point position inside fragment
   isn't preserved when calling ~org-edit-special~ from an inline fragment.
 + common leading indentation wasn't getting trimmed when editing a multiline
   fragment inside an org list such as
   $$abc
   def$$

Thanks for reporting and confirming.

Regards,

--
Sébastien Miquel

Attachment: 0001-org-src.el-Fix-special-editing-of-LaTeX-fragments.patch
Description: Text Data


reply via email to

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