|
| From: | Nicolas Goaziou |
| Subject: | Re: [O] 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: | Tue, 19 Apr 2016 21:26:46 +0200 |
Hello,
address@hidden (Berthold Höllmann) writes:
> 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.
Isn't it the case already?
(cond
;; Use \footnotemark if the footnote has already been defined.
((not (org-export-footnote-first-reference-p footnote-reference info))
(format "\\footnotemark[%s]{}"
(org-export-get-footnote-number footnote-reference info)))
;; Use \footnotemark if reference is within another footnote
;; reference, footnote definition or table cell.
((org-element-lineage footnote-reference
'(footnote-reference footnote-definition table-cell))
"\\footnotemark")
...)
Regards,
--
Nicolas Goaziou
| [Prev in Thread] | Current Thread | [Next in Thread] |