emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Referencing a footnote (LaTeX export)
Date: Sat, 07 May 2011 16:10:54 -0400	[thread overview]
Message-ID: <4DC5A74E.8060100@uni-koeln.de> (raw)
In-Reply-To: <87d3jup95k.fsf@fastmail.fm>

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

      reply	other threads:[~2011-05-07 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=4DC5A74E.8060100@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).