emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Minor nit - LaTeX header contents and footnotes


From: Nick Dokos
Subject: [Orgmode] Minor nit - LaTeX header contents and footnotes
Date: Thu, 20 Aug 2009 17:14:19 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]