[O] Referencing a footnote (LaTeX export)

2011-05-07 Thread Bernd Weiss

Hi all,

This is hopefully a simple question, but I am stuck: How can I reference 
a footnote (see example below)?


Since I am exporting my org-file to LaTeX, I am using something like 
\ref{???} but what can I use as footnote label?


Chapter 2.10 of the manual introduces the 'named footnote reference' 
[fn:name] and my first idea was that I could use 'name' as label (and I 
changed my footnote to [fn:fn1]) but that didn't work.


--
Lorem ipsum dolor sit amet, consectetur adipiscing elit.[fn:1] Fusce 
vestibulum tempor lobortis. Pellentesque lacinia faucibus augue, 
ultrices elementum tortor condimentum id. Maecenas scelerisque mattis 
odio, eget porttitor erat cursus eu. Duis porta porttitor diam, eget 
dapibus lorem malesuada eget. Morbi sed orci vitae libero pharetra 
congue (see footnote \ref{???}).


[fn:1] My first footnote
--


Thanks for your help,

Bernd



Re: [O] Referencing a footnote (LaTeX export)

2011-05-07 Thread Matt Lundin
Bernd Weiss bernd.we...@uni-koeln.de writes:

 This is hopefully a simple question, but I am stuck: How can I
 reference a footnote (see example below)?

 Since I am exporting my org-file to LaTeX, I am using something like
 \ref{???} but what can I use as footnote label?

 Chapter 2.10 of the manual introduces the 'named footnote reference'
 [fn:name] and my first idea was that I could use 'name' as label (and
 I changed my footnote to [fn:fn1]) but that didn't work.

 --
 Lorem ipsum dolor sit amet, consectetur adipiscing elit.[fn:1] Fusce
 vestibulum tempor lobortis. Pellentesque lacinia faucibus augue,
 ultrices elementum tortor condimentum id. Maecenas scelerisque mattis
 odio, eget porttitor erat cursus eu. Duis porta porttitor diam, eget
 dapibus lorem malesuada eget. Morbi sed orci vitae libero pharetra
 congue (see footnote \ref{???}).

 [fn:1] My first footnote

AFAIK, org-mode does not convert footnote labels (named references) to
LaTeX labels. But if you are only exporting to LaTeX, you could use the
following syntax:

--8---cut here---start-8---
Lorem ipsum dolor sit amet, consectetur adipiscing elit.[fn:1] Fusce
vestibulum tempor lobortis. Pellentesque lacinia faucibus augue,
ultrices elementum tortor condimentum id. Maecenas scelerisque mattis
odio, eget porttitor erat cursus eu. Duis porta porttitor diam, eget
dapibus lorem malesuada eget. Morbi sed orci vitae libero pharetra
congue (see footnote \ref{firstfootnote}).

[fn:1] My first footnote.\label{firstfootnote}
--8---cut here---end---8---

Best,
Matt



Re: [O] Referencing a footnote (LaTeX export)

2011-05-07 Thread Bernd Weiss

Am 07.05.2011 16:07, schrieb Matt Lundin:

Bernd Weissbernd.we...@uni-koeln.de  writes:


This is hopefully a simple question, but I am stuck: How can I
reference a footnote (see example below)?

Since I am exporting my org-file to LaTeX, I am using something like
\ref{???} but what can I use as footnote label?

Chapter 2.10 of the manual introduces the 'named footnote reference'
[fn:name] and my first idea was that I could use 'name' as label (and
I changed my footnote to [fn:fn1]) but that didn't work.


[...]


AFAIK, org-mode does not convert footnote labels (named references) to
LaTeX labels. But if you are only exporting to LaTeX, you could use the
following syntax:

--8---cut here---start-8---
Lorem ipsum dolor sit amet, consectetur adipiscing elit.[fn:1] Fusce
vestibulum tempor lobortis. Pellentesque lacinia faucibus augue,
ultrices elementum tortor condimentum id. Maecenas scelerisque mattis
odio, eget porttitor erat cursus eu. Duis porta porttitor diam, eget
dapibus lorem malesuada eget. Morbi sed orci vitae libero pharetra
congue (see footnote \ref{firstfootnote}).

[fn:1] My first footnote.\label{firstfootnote}
--8---cut here---end---8---



Hi Matt,

That makes sense and works.

Thanks,

Bernd