emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Minor nit - LaTeX header contents and footnotes


From: Carsten Dominik
Subject: Re: [Orgmode] Minor nit - LaTeX header contents and footnotes
Date: Fri, 21 Aug 2009 06:52:41 +0100

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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