Comments on Footnote Macros
Last modified by Admin on 2024/03/29 13:55
Choose the export format from the list below:
Export as Portable Document Format (PDF) using the Web Browser
Export as HyperText Markup Language (HTML)
One function I am missing is putting multiple references (e.g. twice the <sup>2</sup>) to the same footnote
I believe the Footnote Macro renders using XWiki 2.0 syntax even if used in a document with XWiki 2.1 syntax. I made this conclusion when attempting to place an anchor link in a footnote using XWiki 2.1 syntax (...||anchor="elementID"...). It didn't work, so I tried using pre-2.1 anchor syntax (...#elementID...). That worked. I'm not sure if this was caused by something specific to my XWiki instance (outdated macros.vm?). Just thought I'd share in case anyone else ran into this.
Would be great if you could create a bug on https://jira.xwiki.org.
I created a bug on JIRA.
I also found a simpler workaround for this bug. If you include {{putFootnotes/}} at the end of a document, the footnotes will render properly with XWiki 2.1 syntax.
I second Joris Dirks' comment about multiple references on a page to one single footnote. A method for doing that in Tex is described here: http://tex.stackexchange.com/questions/35043/reference-different-places-to-the-same-footnote. I hope a similar concept of (optionally) labelling and then referencing footnotes is in the planning for XWiki too. Don't know where to put suggestions other than here... hope it gets picked up!
FTR this has now been raised in https://jira.xwiki.org/browse/XWIKI-18246