emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: rpgoldman@sift.info
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Bug? in latex export of cross-references in footnotes
Date: Sun, 09 Oct 2011 14:11:31 +0200	[thread overview]
Message-ID: <8762jycqks.fsf@gmail.com> (raw)
In-Reply-To: <4E80D305.2040609@sift.info> (Robert Goldman's message of "Mon, 26 Sep 2011 14:31:17 -0500")


Robert Goldman <rpgoldman@sift.info> writes:

> On 9/26/11 Sep 26 -2:26 PM, Robert Goldman wrote:
>> Here is a simple footnote in a test file:
>> Footnotes:
>> [1]  The footnote contains a cross-reference to [[Heading]].
>> When I export this using org-export-as-pdf, the cross-reference to
>> Heading doesn't get exported properly.  In particular, what I see in the
>> emitted latex file is:
>> Inside the text there is a footnote.\protect\footnote{The footnote
>> contains a cross-reference to \hyperref[Heading]{Heading}. }
>> But the only latex \label associated with \section{Heading} is
>> \label{sec-1}.
>> I am attaching the sample org file and latex output.
>> Thanks for any suggestions!
>> Robert
> I tweaked the example a little (see attachment), and this is a bona fide
> bug.  A corresponding link in the body text (I have modified the link to
> use the "restricted to headers" syntax, just in case that was the
> problem), works properly.  It's only in the footnote that it's broken.

Yes, managing internal links within a footnote is a non-trivial task in
the LaTeX exporter. I'm working on a different approach.


Nicolas Goaziou

      reply	other threads:[~2011-10-09 12:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 19:26 Robert Goldman
2011-09-26 19:31 ` Robert Goldman
2011-10-09 12:11   ` Nicolas Goaziou [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:

  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=8762jycqks.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rpgoldman@sift.info \
    --subject='Re: Bug? in latex export of cross-references in footnotes' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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