"putFootnotes" Macro
Last modified by Lucas Charpentier on 2026/11/12 14:15
Reference
Description
The putFootnotes macro lists the footnotes of the page at the place where it is written. Without it, the notes created with the "footnote" macro are listed at the end of the page.
Usage
{{putFootnotes/}}The macro is standalone only: it has to be separated from the text around it by an empty line. Written in the middle of a sentence it would raise an error.
Three behaviours are worth knowing before you use it:
- it lists all the footnotes of the page, including the ones written after it;
- it displays nothing when the page has no footnote;
- a page shows a single list of footnotes: when the macro is used several times, only the last one displays the list.
Parameters
The macro has no parameter and takes no content.
Examples
List the Footnotes Before the Next Section
== Opening Hours ==
The library opens at nine{{footnote}}At ten during the school holidays.{{/footnote}} and closes at six{{footnote}}The reading room stays open until eight on Thursdays.{{/footnote}}.
{{putFootnotes/}}
== Getting There ==
Take the tram to the Museum stop, then walk two minutes along the river.