|
GhoFootnote
plugin to create sitewide footnotes
gho_footnoteDescriptionThe gho_footnote tag is a container tag. At the position of this tag a mark is inserted linked with the next footnote-list where the contained text of the container tag will be printed. A footnote. Download
Footnotes with TextileTextile has the possibility to include footnotes inside an article. The following Textile-markup test[1] blablablabla ... more content ... fn1. ootno would be rendered as followed <p>test<sup><a href="#fn1">1</a></sup> blablablabla</p> ... more content ... <p id="fn1"><sup>1</sup> ootno</p> This system is convenient if you want to show to show your footnotes inside your article, but its not possible to put the resulting list of footnotes anywhere on your site, collect footnotes over various articles or change anything in the appearance of the footnotes or the indicator for the footnote. Furthermore you have to maintain two places of content for one footnote. The footnote itself don’t link back to the place where the footnote is indicated. gho_footnote solves some of these problems. Attributesprefix and suffix defines what should be put around the footnotenumber at the place of the footnoteindikator. Defaults are ’[’ and ’]’ function If not set a footnotereference will be printed and the text between the gho_footnote-tags will be put into the internal cache. If function is set to ‘settings’ the attributes will be globally set for all following footnotes. No footnote is printed. If function is set to ‘list’ the list of the footnotes will be printed out and the notes from the inner cache are deleted. wraptag and class Same functionality as in other tags. examples<txp:gho_footnote>Examplenote</txp:gho_footnote> Inserts a footnote at the place where the tag is set and adds the footnote to the footnotecache. The content of the footnote is shown at the place the following tag is set. <txp:gho_footnote function='list'/> Prints the list of footnotes and deletes the notes from the inner cache. <txp:gho_footnote function="settings" prefix="*" suffix="" /> Sets the attributes prefix and suffix for all following footnotes. gho_if_footnotesdescriptionThe gho_if_footnotes tag is a conditional container tag. If at the point of execution of this tag there are any footnotes defined they will be printed and dropped from the internal collector. example<txp:gho_if_footnotes> <div class="entry"><hr class="footnote" /> <txp:gho_footnote function='list' /> </div> </txp:gho_if_footnotes> history2006-09-06 v.2006.3
2006-07-03 v.2006.2
2006-06-29 v.2006.1
|