emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Ulf Stegemann
Subject: [Orgmode] Re: Bug: export latex bug [6.34trans]
Date: Fri, 26 Feb 2010 14:02:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

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

reply via email to

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