emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Minor nit - LaTeX header contents and footnotes
@ 2009-08-20 21:14 Nick Dokos
  2009-08-21  5:52 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2009-08-20 21:14 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-16  4:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-20 21:14 Minor nit - LaTeX header contents and footnotes Nick Dokos
2009-08-21  5:52 ` Carsten Dominik
2010-02-12 13:16   ` Ruud Brekelmans
2010-02-12 17:00     ` Eric S Fraga
2010-02-13 13:54       ` Ruud Brekelmans
2010-02-16  4:53         ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).