mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 06:32:53 +00:00
Allow {} to terminate a tex macro inside a word.
For example, you can now write \Aacute{}stor.
This commit is contained in:
parent
952103e9a3
commit
ce88fc8273
|
@ -3798,7 +3798,8 @@ If there are links in the string, don't modify these."
|
|||
(setq s (org-export-html-convert-sub-super s)))
|
||||
(if org-export-with-TeX-macros
|
||||
(let ((start 0) wd ass)
|
||||
(while (setq start (string-match "\\\\\\([a-zA-Z]+\\)" s start))
|
||||
(while (setq start (string-match "\\\\\\([a-zA-Z]+\\)\\({}\\)?"
|
||||
s start))
|
||||
(if (get-text-property (match-beginning 0) 'org-protected s)
|
||||
(setq start (match-end 0))
|
||||
(setq wd (match-string 1 s))
|
||||
|
|
Loading…
Reference in a new issue