emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug? in latex export of cross-references in footnotes


From: Robert Goldman
Subject: Re: [O] Bug? in latex export of cross-references in footnotes
Date: Mon, 26 Sep 2011 14:31:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2

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: footnote-crossref.org
Description: Text document

Attachment: footnote-crossref.tex
Description: TeX document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]