emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Could inline footnotes be made to work with latex commands


From: David Maus
Subject: Re: [Orgmode] Could inline footnotes be made to work with latex commands that have arguments?
Date: Sun, 13 Jun 2010 16:16:55 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Scot Becker wrote:

>If I put a LaTeX citation command inside one of org's inline
>footnotes, no problem, thus:

>Lorem ipsum dolor sit amet,\footnote{\cite{rowe_acts_2007} }
>consectetur adipisicing elit,

>But if I need an optional argument, no dice.  This:

> ex ea commodo consequat.[fn:: \cite[56]{fitzmyer_one_2007}] Duis aute irure 
>dolor

>exports to LaTeX like this:

>ex ea commodo consequat.[fn:: \cite[56]{fitzmyer_one_2007}] Duis aute irure 
>dolor

>(i.e. there is no \footnote{} macro created)

>For consistency in my markup, I would rather use org's inline
>footnotes for citations like this (which sometimes number several
>inside a footnote).   If I can't, I'd just go ahead and use LaTeX
>\footnote{} macros right in my org files.

>Is the present behaviour likely to be fixable?  Or should I just
>write my footnotes as LaTeX \footnotes{}?

This does not look like easy to fix: It are the square brackets of the
\cite command that prevent Org mode from recognizing the inline
footnote.  

You could try to work with a LaTeX hack, something along:

,----
| \newcommand{\mycite}[2]{\cite[#1]{#2}}
`----

This would provide the macro \mycite with two arguments given in
curly brackets that is expanded to the \cite sequence.

HTH
  -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpLINvd3ctSr.pgp
Description: PGP signature


reply via email to

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