= Foot-notes for Trac = == Description == The FootNoteMacro automatically collates[[FootNote(Arranges in numerical order)]] and generates foot-notes. To use it, simply call the FootNoteMacro with the foot-note content[[FootNote(Any WikiFormatting can be used as content)]] as the only argument to the macro: {{{ [[FootNote(This is a foot-note)]] }}} Foot-notes are numbered by the order in which they appear. To create a reference to an existing foot-note, pass the foot-note number as the only argument to the macro: {{{ [[FootNote(1)]] }}} In addition, identical foot-notes are coalesced into one entry. The following will generate one footnote entry with two references: {{{ Some text[[FootNote(A foot-note)]] and some more text [[FootNote(A foot-note)]]. [[FootNote]] }}} And finally, to display a list of foot-notes call the macro with no arguments: {{{ [[FootNote]] }}} Once a set of foot-notes has been displayed, a complete new set of foot-notes can be created. This allows multiple sets of foot-notes per page. [[FootNote]] == Bugs/Feature Requests == Existing bugs and feature requests for FootNoteMacro are [report:9?COMPONENT=FootNoteMacro here]. [[FootNote(Note that {{{FootNote.py}}} must be installed in the global {{{wikimacros}}} directory due to its use of global variables. This is discussed at length in #13.)]] If you have any issues, create a [http://trac-hacks.swapoff.org/newticket?component=FootNoteMacro&owner=athomas new ticket]. == Download == [source:footnotemacro/0.8 FootNoteMacro for 0.8]. [[FootNote(1)]] [[FootNote]] == Source == You can check out the source for FootNoteMacro from Subversion at http://trac-hacks.swapoff.org/svn/footnotemacro. == Example == Here are the footnotes assembled from this page. == Author/Contributors == '''Author:''' [wiki:athomas athomas] [[BR]] '''Contributors:''' [[TagIt(macro,athomas,0.8)]]