From mboxrd@z Thu Jan 1 00:00:00 1970 From: bhoel@despammed.com (Berthold =?utf-8?Q?H=C3=B6llmann?=) Subject: Re: Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)] Date: Sun, 17 Apr 2016 17:42:03 +0200 Message-ID: <87lh4c9r90.fsf@pchoel.xn--hllmanns-n4a.de> References: <87inzkzkey.fsf@nicolasgoaziou.fr> <87bn59vp68.fsf@nicolasgoaziou.fr> Reply-To: berthold@xn--hllmanns-n4a.de Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arpyb-0002SK-UP for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 12:55:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arpyW-0004kp-Tj for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 12:55:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:41374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arpyW-0004i9-Na for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 12:55:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1arpyT-0003SF-0N for emacs-orgmode@gnu.org; Sun, 17 Apr 2016 18:55:05 +0200 Received: from x55b3d90c.dyn.telefonica.de ([85.179.217.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2016 18:55:04 +0200 Received: from berthold by x55b3d90c.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Apr 2016 18:55:04 +0200 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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Hello, > > Berthold Hoellmann writes: > >> Actually I was able to patch `org-latex-footnote-reference' to get the >> results I line. The trick is to add the counter number given at the >> \footnotetext command to the \footnotemark command also: > > It sounds good. Would you like to provide a patch against master for > that? I just tried to prepare a patch, but looking into it I reckoned that my solution breaks hyperref. The more I looked into the code, the more confused I am (I'm not a lisp programmer). hypperref works again half way, if i define the first occurrence of the footnote using a bare "\footnotemark", and use "\footnotemark[]" in subsequent uses. As I understand the code, "\footnotemark[]" should be used, when a footnote marker is reused, but (org-export-footnote-first-reference-p footnote-reference info) seems to be true only, if "\footnote" was used previously. But I am lost here. Kind regards Berthold H=C3=B6llmann --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXE67ZAAoJELdOLWUCa5tFonEP/jqFXfuInD6gpsF4BDUFplEv Otfj2x09nx10A0eUBFcRnH0DB7eJVAFSlnuC3VH4HdaG+0MgBlk5nTOyANEvFg1k 7ieEN9b73EN0CkMP8vguPfd7cmBwkV4Lfjd0Q5yTq8lVnrNn2d6ijFRlbWGJNIue F+jVFsBCOM+RJxwB3RjslorexFQI0JOSf9xYU04pIVH0jhf4CHhL1Av7A1Z/dGle cP2ia0jtF4dY5ID0JFCEhURYsO5mc7hXwRVqYfLVFclo2FRdKGLnmG5rduwAdSPy tXwgty38aYSuktmcSCH14FzZK1EPTKwHyFSgrJAULbnPgcYbVAaDJGXU39u4wj8y RlVxpS0FpVA9KJRXIx+ljYbpnhmXeWFg5BJ58/N40NlQT9dH4VcYlR2WJk/VTqmT UdhxP7QLnEkO8R+LDDN9juvoaPgtk/ABgQBh41tzD1HQ5idGGI4ate2IXKdiXnpn kbsjJVu2YHqqX/nh9P/2DfUsMXH6XH7jT+ZlNVBTbJtAi97E6Rphf0N+lWcpSnUH W0qbZS2nKa2NRhnMTCdVedJHd70ANQGtfMxjbYItrSpFif6EWd6BgtvdHE132iE7 h4zoy7ZAeWXF/QbL2+BNoaEqbY2wCT85FuEg/tuMvqzIrsO6S3do7UyKtMPyybrj QNxnc7LpO10XDpWizkpt =0Bw7 -----END PGP SIGNATURE----- --=-=-=--