Hi,
I used the configuration:

org-catch-invisible-edits 'show
org-pretty-entities t

together with org-cdlatex. This breaks the insertion of subscripts and superscripts through org-cdlatex because _{} is fontified and the {} are hidden so typing for example: "a _ bc" results in "a_{b}c" (or sometimes "a_bc", but should be "a_{bc}") and gives the message "Unfolding invisible region around point before editing".

Setting org-catch-invisible-edits to nil let's cdlatex do it's work so I guess an easy solution would be to "let" that in org-cdlatex-underscore-caret.


Cheers,
Anders Johansson
Hi,
I realized that my solution won't work since "org-check-before-invisible-edit" does it's work after "org-cdlatex-underscore-caret" has called "cdlatex-sub-superscript" and inserted "_{}".

Maybe then org-catch-invisible-edits should be nil all the time in org-cdlatex-mode? But this would be unexpected. Maybe this can be treated as a special case in "org-check-before-invisible-edit" in some way?


Cheers,
Andes Johansson

Reply via email to