From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Bug? in latex export of cross-references in footnotes Date: Mon, 26 Sep 2011 14:26:38 -0500 Message-ID: <4E80D1EE.8050207@sift.info> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090807070503070004080207" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Gp9-0005WT-2L for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 15:26:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Gp8-0007nW-5d for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 15:26:43 -0400 Received: from mpls.sift.info ([75.146.46.193]:42080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Gp8-0007nQ-2Y for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 15:26:42 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode This is a multi-part message in MIME format. --------------090807070503070004080207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------090807070503070004080207 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="footnote-crossref.org" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="footnote-crossref.org" * Heading * Another heading * Some text Inside the text there is a footnote.[1] Footnotes: [1] The footnote contains a cross-reference to [[Heading]]. --------------090807070503070004080207 Content-Type: application/x-tex; name="footnote-crossref.tex" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="footnote-crossref.tex" JSBDcmVhdGVkIDIwMTEtMDktMjYgTW9uIDE0OjIyClxkb2N1bWVudGNsYXNzWzExcHRde2Fy dGljbGV9Clx1c2VwYWNrYWdlW3V0Zjhde2lucHV0ZW5jfQpcdXNlcGFja2FnZVtUMV17Zm9u dGVuY30KXHVzZXBhY2thZ2V7Zml4bHR4MmV9Clx1c2VwYWNrYWdle2dyYXBoaWN4fQpcdXNl cGFja2FnZXtsb25ndGFibGV9Clx1c2VwYWNrYWdle2Zsb2F0fQpcdXNlcGFja2FnZXt3cmFw ZmlnfQpcdXNlcGFja2FnZXtzb3VsfQpcdXNlcGFja2FnZXt0ZXh0Y29tcH0KXHVzZXBhY2th Z2V7bWFydm9zeW19Clx1c2VwYWNrYWdle3dhc3lzeW19Clx1c2VwYWNrYWdle2xhdGV4c3lt fQpcdXNlcGFja2FnZXthbXNzeW1ifQpcdXNlcGFja2FnZXtoeXBlcnJlZn0KXHRvbGVyYW5j ZT0xMDAwClxwcm92aWRlY29tbWFuZHtcYWxlcnR9WzFde1x0ZXh0YmZ7IzF9fQoKXHRpdGxl e2Zvb3Rub3RlLWNyb3NzcmVmfQpcYXV0aG9ye1JvYmVydCBQLiBHb2xkbWFufQpcZGF0ZXtc dG9kYXl9CgpcYmVnaW57ZG9jdW1lbnR9CgpcbWFrZXRpdGxlCgpcc2V0Y291bnRlcnt0b2Nk ZXB0aH17M30KXHRhYmxlb2Zjb250ZW50cwpcdnNwYWNlKnsxY219ClxzZWN0aW9ue0hlYWRp bmd9ClxsYWJlbHtzZWMtMX0KXHNlY3Rpb257QW5vdGhlciBoZWFkaW5nfQpcbGFiZWx7c2Vj LTJ9ClxzZWN0aW9ue1NvbWUgdGV4dH0KXGxhYmVse3NlYy0zfQoKSW5zaWRlIHRoZSB0ZXh0 IHRoZXJlIGlzIGEgZm9vdG5vdGUuXHByb3RlY3RcZm9vdG5vdGV7VGhlIGZvb3Rub3RlIGNv bnRhaW5zIGEgY3Jvc3MtcmVmZXJlbmNlIHRvIFxoeXBlcnJlZltIZWFkaW5nXXtIZWFkaW5n fS4gfQoKXGVuZHtkb2N1bWVudH0= --------------090807070503070004080207--