Protect index string
* lisp/org-latex.el (org-export-latex-preprocess): Protect index string
This commit is contained in:
parent
cb6425e6a0
commit
8d509bb494
|
@ -2330,7 +2330,8 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||||
nil t)
|
nil t)
|
||||||
(setq entry
|
(setq entry
|
||||||
(save-match-data
|
(save-match-data
|
||||||
(org-export-latex-fontify-headline (match-string 1))))
|
(org-export-latex-protect-string
|
||||||
|
(org-export-latex-fontify-headline (match-string 1)))))
|
||||||
(replace-match (format "\\index{%s}" entry) t t)))
|
(replace-match (format "\\index{%s}" entry) t t)))
|
||||||
|
|
||||||
;; Convert center
|
;; Convert center
|
||||||
|
|
Loading…
Reference in New Issue