[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes
From: |
Rasmus |
Subject: |
Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)] |
Date: |
Mon, 25 Apr 2016 10:38:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Jorge Peixoto de Morais Neto <address@hidden> writes:
> Line1.[fn:1]
>
> \pagebreak
>
> Line2.[fn:1]
> * Footnotes
> [fn:1] Footnote.
> ------------------------------------------------------------------------
> In the generated PDF, the second footnote reference (on page 2) is not
> clickable. If this happened on a large document, how would the reader
> locate the footnote definition?
Currently, that's not possible in Org. You could something like this,
Line1.[fn:1]
\pagebreak
Line2 (see footnote [[f1]])
* Footnotes
[fn:1] <<f1>> Footnote.
You could also settle for user labels,
# -*- org-latex-prefer-user-labels:t -*-
#+latex_header: \usepackage{scrextend}
#+macro: fnref (eval (if (org-export-derived-backend-p
org-export-current-backend 'latex) (format "@@latex:\\footref{%s}@@" "$1")
"<<$1>>"))
Line1.[fn:1]
#+latex: \pagebreak
Line2.{{{fnref(f1)}}}
* Footnotes
[fn:1] <<f1>> Footnote.
Ultimately, I think a decent fix would be to add a prefix to
org-latex--label for targets pointing to footnotes. They should be
prefixed with "fn:". Then, it should be easy to hack together a filter.
Rasmus
--
A page of history is worth a volume of logic
- [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Jorge Peixoto de Morais Neto, 2016/04/23
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)],
Rasmus <=
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Nicolas Goaziou, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Rasmus, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Nicolas Goaziou, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Rasmus, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Nicolas Goaziou, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Rasmus, 2016/04/25
- Re: [O] Bug: When exporting to PDF an Org file where multiple footnotes share the same definition, only the first footnote is clickable [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)], Rasmus, 2016/04/25