From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Issue with multiple references to the same footnote in LaTeX export Date: Sun, 13 Jul 2014 23:54:49 -0400 Message-ID: References: <87y4vwwt55.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6XLo-0004lH-9M for emacs-orgmode@gnu.org; Sun, 13 Jul 2014 23:54:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6XLm-0004Ot-Sw for emacs-orgmode@gnu.org; Sun, 13 Jul 2014 23:54:52 -0400 Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:60351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6XLm-0004OV-NG for emacs-orgmode@gnu.org; Sun, 13 Jul 2014 23:54:50 -0400 Received: by mail-ig0-f177.google.com with SMTP id hn18so1258761igb.4 for ; Sun, 13 Jul 2014 20:54:49 -0700 (PDT) In-Reply-To: <87y4vwwt55.fsf@gmail.com> 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: "emacs-orgmode@gnu.org" Duh, forgot to include the list in this reply. On Sun, Jul 13, 2014 at 10:50 PM, Aaron Ecay wrote: > Hi York, > > It=E2=80=99s not a totally trivial problem from the LaTeX side. This sta= ck > exchange answer outlines what could be a solution: > . Inside the > =E2=80=98org-latex-footnote-reference=E2=80=99 function, org should gener= ate a \label > inside the argument to \footnote, and then use \ref for subsequent > references. > > 2014ko uztailak 12an, York Zhao-ek idatzi zuen: >> >> Hi list, >> >> I'm re-posting this again because I just noticed that I shouldn't have >> copied >> the "Local Variables". Now it is a smaller ECM. >> >> If I have multiple references to the same footnote, in LaTeX export only= the >> first reference is a clickable link, the rest are exported as dead numbe= r >> referring to the footnote definition, but not clickable links. I have >> `org-footnote-section' set to `nil' by the way. >> >> Here's ECM: >> >> --8<---------------cut here---------------start------------->8--- >> #+LaTeX_CLASS: article >> >> * Multiple reference to the same footnote 1 >> This is footnote reference [fn:1]. This is another reference to the same >> footnote [fn:1] >> >> [fn:1] Footnote definition. >> >> * Multiple reference to the same footnote 2 >> This is footnote reference [fn:myfootnote]. This is another reference to= the >> same footnote [fn:myfootnote] >> >> [fn:myfootnote] Footnote definition. >> >> * Multiple reference to the same footnote 3 >> This is footnote reference [fn:myfootnote3: Footnote definition.]. This = is >> another reference to the same footnote [fn:myfootnote3] >> >> --8<---------------cut here---------------end--------------->8--- >> >> Regards, >> >> York >> > -- > Aaron Ecay