Timothy <tecos...@gmail.com> writes: > In your original email you wrote >>>>> The new function can then be installed in `org-edit-special' from >>>>> "org.el" > > I can't quite see how I would insert this. Since it sounds relatively > simple, if you would be willing to cook up the necessary modification > for me that would be a great help.
I already did, didn't I? In `org-edit-special', near the end (that is _after_ call to `org-element-context') there's a line: (`inline-src-block (org-edit-inline-src-code)) Right after this line, i.e., as another case in the `pcase' pattern, you would simply add: (`latex-fragment (org-edit-latex-fragment)) That's all for the changes required in `org-edit-special'. Of course, you need to write `org-edit-latex-fragment' function in "org-src.el" beforehand. I suggested examples to look at.