From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Bug: export latex bug [6.34trans] Date: Fri, 26 Feb 2010 21:02:41 +0100 Message-ID: <6C64FC7A-6168-44F9-9F71-9567AD804E34@gmail.com> References: <86mxywtekh.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nl6Oh-0006c9-1J for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:02:51 -0500 Received: from [140.186.70.92] (port=55118 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl6Of-0006bC-U2 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:02:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nl6Oe-0007sF-M2 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:02:49 -0500 Received: from ey-out-1920.google.com ([74.125.78.145]:16688) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl6Oe-0007ry-EK for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:02:48 -0500 Received: by ey-out-1920.google.com with SMTP id 5so263139eyb.34 for ; Fri, 26 Feb 2010 12:02:44 -0800 (PST) In-Reply-To: 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: Ulf Stegemann Cc: emacs-orgmode@gnu.org Applied, thank you very much. - Carsten On Feb 26, 2010, at 2:02 PM, Ulf Stegemann wrote: > 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 ... > > --- 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