From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruud Brekelmans Subject: Re: Minor nit - LaTeX header contents and footnotes Date: Fri, 12 Feb 2010 14:16:06 +0100 Message-ID: References: <10739.1250802859@alphaville.usa.hp.com> <7493B34F-8E52-41D1-A230-FB65CF3678B2@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1242469224==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfvNS-00038w-Fa for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 08:16:10 -0500 Received: from [140.186.70.92] (port=45642 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfvNR-00038C-RA for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 08:16:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfvNR-0005tz-3w for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 08:16:09 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:37431) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfvNQ-0005tn-Cc for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 08:16:09 -0500 Received: by ewy28 with SMTP id 28so1150558ewy.8 for ; Fri, 12 Feb 2010 05:16:06 -0800 (PST) In-Reply-To: <7493B34F-8E52-41D1-A230-FB65CF3678B2@gmail.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: emacs-orgmode@gnu.org --===============1242469224== Content-Type: multipart/alternative; boundary=001485e8e739f39f87047f671162 --001485e8e739f39f87047f671162 Content-Type: text/plain; charset=ISO-8859-1 I still find similar behavior when exporting to LaTeX with: #+BEGIN_LaTeX \newcommand{\norm}[1]{\lVert#1\rVert} #+END_LaTeX Best regards, Ruud On 21 August 2009 06:52, Carsten Dominik wrote: > 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 >> > > > > _______________________________________________ > 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 > --001485e8e739f39f87047f671162 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I still find similar behavior when exporting to LaTeX with:

#+BEGIN_= LaTeX
\newcommand{\norm}[1]{\lVert#1\rVert}
#+END_LaTeX


Be= st regards,
Ruud


On 21 August 2009= 06:52, Carsten Dominik <carsten.dominik@gmail.com> wrote:
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: =A0 #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@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001485e8e739f39f87047f671162-- --===============1242469224== 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 --===============1242469224==--