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

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

  reply	other threads:[~2011-05-07 20:07 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 [this message]
2011-05-07 20:10   ` Bernd Weiss

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=87d3jup95k.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bernd.weiss@uni-koeln.de \
    --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).