emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Bug? in latex export of cross-references in footnotes
Date: Mon, 26 Sep 2011 14:31:17 -0500	[thread overview]
Message-ID: <4E80D305.2040609@sift.info> (raw)
In-Reply-To: <4E80D1EE.8050207@sift.info>

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

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.


[-- Attachment #2: footnote-crossref.org --]
[-- Type: text/plain, Size: 224 bytes --]

* Heading
* Another heading
* Some text
Inside the text there is a footnote.[1]
* Some more text
Here's text with a link in the body: [[*Heading]].

Footnotes: 
[1]  The footnote contains a cross-reference to [[*Heading]].


[-- Attachment #3: footnote-crossref.tex --]
[-- Type: application/x-tex, Size: 936 bytes --]

  reply	other threads:[~2011-09-26 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 19:26 Bug? in latex export of cross-references in footnotes Robert Goldman
2011-09-26 19:31 ` Robert Goldman [this message]
2011-10-09 12:11   ` Nicolas Goaziou

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=4E80D305.2040609@sift.info \
    --to=rpgoldman@sift.info \
    --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).