* Bug: export latex bug [6.34trans]
@ 2010-02-26 11:35 Chris Gray
2010-02-26 13:02 ` Ulf Stegemann
0 siblings, 1 reply; 3+ messages in thread
From: Chris Gray @ 2010-02-26 11:35 UTC (permalink / raw
To: emacs-orgmode
When exporting to LaTeX, I get the error void-variable
org-on-heading-p.
The following patch fixes the problem.
Cheers,
Chris
Emacs : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3)
of 2009-11-20 on portan
Package: Org-mode version 6.34trans
commit 7d187462ebb90c8b45b66b50551d1adc7a4f84f9
Author: Chris Gray <chrismgray@gmail.com>
Date: Fri Feb 26 12:27:18 2010 +0100
Removed empty if statement
Modified lisp/org-latex.el
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index c12d178..51a96d4 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -2045,7 +2045,6 @@ 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))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Bug: export latex bug [6.34trans]
2010-02-26 11:35 Bug: export latex bug [6.34trans] Chris Gray
@ 2010-02-26 13:02 ` Ulf Stegemann
2010-02-26 20:02 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Ulf Stegemann @ 2010-02-26 13:02 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
Hi Chris,
Chris Gray <chrismgray@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 ...
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-latex.el.patch --]
[-- Type: text/x-patch, Size: 648 bytes --]
--- 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)))
)))))
[-- Attachment #3: Type: text/plain, Size: 5 bytes --]
Ulf
[-- Attachment #4: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Bug: export latex bug [6.34trans]
2010-02-26 13:02 ` Ulf Stegemann
@ 2010-02-26 20:02 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-02-26 20:02 UTC (permalink / raw
To: Ulf Stegemann; +Cc: emacs-orgmode
Applied, thank you very much.
- Carsten
On Feb 26, 2010, at 2:02 PM, Ulf Stegemann wrote:
> Hi Chris,
>
> Chris Gray <chrismgray@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-26 20:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 11:35 Bug: export latex bug [6.34trans] Chris Gray
2010-02-26 13:02 ` Ulf Stegemann
2010-02-26 20:02 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.