Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Hello,
>
> Berthold Hoellmann <berthold.hoellm...@dnvgl.com> 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[<footnote
number>]" in subsequent uses. As I understand the code,
"\footnotemark[<footnote number>]" 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öllmann

Attachment: signature.asc
Description: PGP signature

Reply via email to