emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Bug: export latex bug [6.34trans]


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Bug: export latex bug [6.34trans]
Date: Fri, 26 Feb 2010 21:02:41 +0100

Applied, thank you very much.

- Carsten

On Feb 26, 2010, at 2:02 PM, Ulf Stegemann wrote:

Hi Chris,

Chris Gray <address@hidden> 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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]