LaTeX export: Protect footnotes in headings
This commit is contained in:
parent
721e547cd9
commit
045676bcaa
|
@ -1,5 +1,8 @@
|
|||
2010-02-26 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-preprocess): Protect footnotes in
|
||||
headings.
|
||||
|
||||
* org-id.el (org-id-find-id-file): Fix bug when there is no hash
|
||||
table for the id locations.
|
||||
|
||||
|
|
|
@ -2045,10 +2045,10 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
|||
(add-text-properties (1- (length footnote-rpl))
|
||||
(length footnote-rpl)
|
||||
'(org-protected t) footnote-rpl)
|
||||
(if org-on-heading-p)
|
||||
(setq footnote-rpl
|
||||
(concat (org-export-latex-protect-string "\\protect")
|
||||
footnote-rpl))
|
||||
(if (org-on-heading-p)
|
||||
(setq footnote-rpl
|
||||
(concat (org-export-latex-protect-string "\\protect")
|
||||
footnote-rpl)))
|
||||
(insert footnote-rpl)))
|
||||
)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue