Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > I already did, didn't I? > ... > That's all for the changes required in `org-edit-special'.
Oh ':) I thought that was just you saying 'it would be something along the lines of...' Thanks! I'll let you know when I have something. > 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. >