Hello,
Robert Goldman <[email protected]> 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.
Regards,
--
Nicolas Goaziou