Re: [O] Issue with multiple references to the same footnote in LaTeX export
Hello, Aaron Ecay aarone...@gmail.com writes: Duh, forgot to include the list in this reply. On Sun, Jul 13, 2014 at 10:50 PM, Aaron Ecay aarone...@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. I'm not certain that it would work with, e.g., nested footnotes. A proof-of-concept would help in this case. Regards, -- Nicolas Goaziou
Re: [O] Issue with multiple references to the same footnote in LaTeX export
Hi York, York Zhao gtdplatf...@gmail.com writes: 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. I confirm this -- which seems to be intentional: See `org-latex-footnote-reference' and those lines: ;; 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))) Nicolas, is there any way to get the footnote clickable here? The current output is confusing. Thanks, -- Bastien
Re: [O] Issue with multiple references to the same footnote in LaTeX export
Duh, forgot to include the list in this reply. On Sun, Jul 13, 2014 at 10:50 PM, Aaron Ecay aarone...@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
Re: [O] Issue with multiple references to the same footnote in LaTeX export
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
Re: [O] Issue with multiple references to the same footnote in LaTeX export
Any one? On Wed, Jul 9, 2014 at 2:07 PM, York Zhao gtdplatf...@gmail.com wrote: 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] * Local Variables # Local Variables: # eval: (add-to-list (make-local-variable 'org-latex-default-packages-alist) '( setspace nil)) # End: --8---cut here---end---8--- Regards, York
[O] Issue with multiple references to the same footnote in LaTeX export
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] * Local Variables # Local Variables: # eval: (add-to-list (make-local-variable 'org-latex-default-packages-alist) '( setspace nil)) # End: --8---cut here---end---8--- Regards, York