Applied, thank you very much.
- Carsten
On Feb 26, 2010, at 2:02 PM, Ulf Stegemann wrote:
Hi Chris,
Chris Gray <chrismg...@gmail.com> wrote:
When exporting to LaTeX, I get the error void-variable
org-on-heading-p.
The following patch fixes the problem.
I encounter the same problem, but I think the following is closer to
what was originally intended ...
--- org-latex.el.orig 2010-02-26 13:54:20.792505535 +0100
+++ org-latex.el 2010-02-26 13:55:05.637505030 +0100
@@ -2045,10 +2045,10 @@
(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)))
)))))
Ulf
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode