emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Gray <chrismgray@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: export latex bug [6.34trans]
Date: Fri, 26 Feb 2010 12:35:26 +0100	[thread overview]
Message-ID: <86mxywtekh.fsf@gmail.com> (raw)

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))

             reply	other threads:[~2010-02-26 11:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 11:35 Chris Gray [this message]
2010-02-26 13:02 ` Bug: export latex bug [6.34trans] Ulf Stegemann
2010-02-26 20:02   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86mxywtekh.fsf@gmail.com \
    --to=chrismgray@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).