From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Minor nit - LaTeX header contents and footnotes Date: Fri, 21 Aug 2009 06:52:41 +0100 Message-ID: <7493B34F-8E52-41D1-A230-FB65CF3678B2@gmail.com> References: <10739.1250802859@alphaville.usa.hp.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeN3V-0006Ev-On for emacs-orgmode@gnu.org; Fri, 21 Aug 2009 01:52:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeN3Q-0006B7-4y for emacs-orgmode@gnu.org; Fri, 21 Aug 2009 01:52:52 -0400 Received: from [199.232.76.173] (port=37030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeN3P-0006Ax-QX for emacs-orgmode@gnu.org; Fri, 21 Aug 2009 01:52:47 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:13020) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeN3O-0000l8-AD for emacs-orgmode@gnu.org; Fri, 21 Aug 2009 01:52:47 -0400 Received: by ey-out-1920.google.com with SMTP id 5so149254eyb.24 for ; Thu, 20 Aug 2009 22:52:45 -0700 (PDT) In-Reply-To: <10739.1250802859@alphaville.usa.hp.com> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Aug 20, 2009, at 10:14 PM, Nick Dokos wrote: > I define a LaTeX macro at the top of my document, like so: > > ,---- > | ... > | #+LATEX_HEADER: \newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}% > | #+LATEX_HEADER: #1\ignorespaces > | #+LATEX_HEADER: } > | ... > `---- > > and export - I get the following inserted: > > ,---- > | ... > | \begin{document} > | > | > | > | > | > | \$\^{}{1}\$ FOOTNOTE DEFINITION NOT FOUND: 1 > | ... > `---- > > Obviously, the macro argument spec is mistaken for a footnote. > > Work-around: add a space like so: > > #+LATEX_HEADER: \newcommand{\rowstyle}[ 1]{\gdef\currentrowstyle{#1}% > > HTH, > Nick > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode