From: Nick Dokos <nicholas.dokos@hp.com>
To: emacs-orgmode@gnu.org
Subject: Minor nit - LaTeX header contents and footnotes
Date: Thu, 20 Aug 2009 17:14:19 -0400 [thread overview]
Message-ID: <10739.1250802859@alphaville.usa.hp.com> (raw)
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
next reply other threads:[~2009-08-20 21:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 21:14 Nick Dokos [this message]
2009-08-21 5:52 ` Minor nit - LaTeX header contents and footnotes 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10739.1250802859@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).