emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Referencing a footnote (LaTeX export)
@ 2011-05-07 19:55 Bernd Weiss
  2011-05-07 20:07 ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Weiss @ 2011-05-07 19:55 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: Referencing a footnote (LaTeX export)
  2011-05-07 19:55 Referencing a footnote (LaTeX export) Bernd Weiss
@ 2011-05-07 20:07 ` Matt Lundin
  2011-05-07 20:10   ` Bernd Weiss
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2011-05-07 20:07 UTC (permalink / raw)
  To: Bernd Weiss; +Cc: emacs-orgmode

Bernd Weiss <bernd.weiss@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

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

* Re: Referencing a footnote (LaTeX export)
  2011-05-07 20:07 ` Matt Lundin
@ 2011-05-07 20:10   ` Bernd Weiss
  0 siblings, 0 replies; 3+ messages in thread
From: Bernd Weiss @ 2011-05-07 20:10 UTC (permalink / raw)
  To: Matt Lundin; +Cc: emacs-orgmode

Am 07.05.2011 16:07, schrieb Matt Lundin:
> Bernd Weiss<bernd.weiss@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

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

end of thread, other threads:[~2011-05-07 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-07 19:55 Referencing a footnote (LaTeX export) Bernd Weiss
2011-05-07 20:07 ` Matt Lundin
2011-05-07 20:10   ` Bernd Weiss

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).