Questions answered by this recipe
Is there a way to automatically number footnotes and to have them all automatically displayed at the bottom of the page?
Add the following line to local/config.php
Wherever you want a footnote in your text, simply use the
When you want to display all the footnotes you have so far, below a short blue horizontal rule, use the markup
If you do not want the short blue horizontal rule, but just a listing of all the footnotes defined so far, use the markup
You may have multiple occurrences of the listing markups; each one will display only the footnotes created in the text since the last listing markup. (So you can have footnotes at the end of each section of your text, for example.)
The original version of this recipe was extracted from MarkupExtensions for those of us who just want footnote capability without all the other extensions provided by that recipe.
You can put in the group footer the markup to display the footnotes, so authors don't have to remember to add it.
A newer version makes two improvements:
To use the newer version, download footnote2.phpΔ instead of footnote.phpΔ, and put in your configuration file
The new version is compatible with PmWiki 2.2.58 and newer, and has no requirements for PHP version. The original version is compatible with PmWiki 2.0 and higher, but requires PHP 5.4 or older.
See discussion at Footnotes-Talk