emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Issue with multiple references to the same footnote in LaTeX export
Date: Sun, 13 Jul 2014 23:54:49 -0400	[thread overview]
Message-ID: <CAFcZrT3ofdkyx05BkAxLCG3zgXS8K4VktXnN8JLoa2feZfatZQ@mail.gmail.com> (raw)
In-Reply-To: <87y4vwwt55.fsf@gmail.com>

Duh, forgot to include the list in this reply.

On Sun, Jul 13, 2014 at 10:50 PM, Aaron Ecay <aaronecay@gmail.com> wrote:
> Hi York,
>
> It’s not a totally trivial problem from the LaTeX side.  This stack
> exchange answer outlines what could be a solution:
> <http://tex.stackexchange.com/a/54240>.  Inside the
> ‘org-latex-footnote-reference’ function, org should generate 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 number
>> 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

  parent reply	other threads:[~2014-07-14  3:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 18:07 Issue with multiple references to the same footnote in LaTeX export York Zhao
2014-07-11 13:11 ` York Zhao
2014-07-13  1:08   ` York Zhao
     [not found]     ` <87y4vwwt55.fsf@gmail.com>
2014-07-14  3:54       ` Aaron Ecay [this message]
2014-08-02  9:39         ` Nicolas Goaziou
2014-07-28 14:36     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFcZrT3ofdkyx05BkAxLCG3zgXS8K4VktXnN8JLoa2feZfatZQ@mail.gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).