From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Re: Bug: export latex bug [6.34trans] Date: Fri, 26 Feb 2010 14:02:25 +0100 Message-ID: References: <86mxywtekh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nkzq5-0006CZ-53 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 08:02:41 -0500 Received: from [140.186.70.92] (port=33540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nkzq4-0006C0-E6 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 08:02:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nkzq3-0007PS-Rk for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 08:02:40 -0500 Received: from lo.gmane.org ([80.91.229.12]:34158) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nkzq3-0007P8-M6 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 08:02:39 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nkzq0-0002iU-Oj for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 14:02:36 +0100 Received: from 146.140.213.100 ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2010 14:02:36 +0100 Received: from ulf-news by 146.140.213.100 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2010 14:02:36 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Chris, Chris Gray 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 ... --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=org-latex.el.patch --- 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))) ))))) --=-=-= Content-Type: text/plain Ulf --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--