Changes between Version 28 and Version 29 of FootNoteMacro


Ignore:
Timestamp:
Apr 23, 2014, 5:30:52 PM (10 years ago)
Author:
Adrian Fritz
Comment:

It´s a macro (not a plugin). Improves example, since FootNoteMacro is working on th

Legend:

Unmodified
Added
Removed
Modified
  • FootNoteMacro

    v28 v29  
    4444The plugin follows the standard installation procedures described in t:TracPlugins. Here are some specifics and highlights.
    4545
    46  1. '''Install''' globally with:
     46 1. **Install** globally with:
    4747{{{#!sh
    4848$ [sudo] easy_install http://trac-hacks.org/svn/footnotemacro/
    4949}}}
    50  1. '''Enable''' the plugin (globally or per environment) by updating TracIni file (..../trac.ini) as follows:
     50 1. **Enable** by updating TracIni file (..../trac.ini) as follows:
    5151 {{{#!ini
    5252[components]
     
    5757$ [sudo] /etc/init.d/apache2 restart
    5858}}}
     59 1. **Test** if is it working properly (all your environments).
    5960
    6061== Bugs/Feature Requests ==
     
    7475== Example ==
    7576
    76 Here are the footnotes assembled from this page.
    77 
    78 [[FootNote]]
    79 
    80 ----
    81 
    82 Here is some wiki markup that will exercise all the functionality of the macro.
    83 
    84 {{{
    85 Testing out the !FootNoteMacro[[FootNote(Here is the first footnote)]].
     77 1. Here are the footnotes assembled from this page by using `[[FootNote]]`:
     78    [[FootNote]]
     79 2. Here is some wiki markup that will exercise all the functionality of the macro.
     80    {{{
     81* Testing out the !FootNoteMacro[[FootNote(Here is the first footnote)]].
    8682This will be a good test to exercise all of its
    8783functionality[[FootNote(Here is the second footnote)]].
    8884And now I'll add an identical footnote and refer to the first footnote
    89 again[[FootNote(Here is the second footnote)]][[FootNote(1)]].
     85again[[FootNote(Here is the second footnote)]]^,^[[FootNote(1)]].
    9086
    9187[[FootNote]]
     
    9793and print just the one that have been generated since the start of the second paragraph.
    9894Just for good measure I'll try referring to some footnotes in the first paragraph
    99 again[[FootNote(1)]][[FootNote(Here is the second footnote)]].
     95again[[FootNote(1)]]^,^[[FootNote(Here is the second footnote)]].
    10096
    10197[[FootNote]]
    10298}}}
     99    * Results:
     100      * Testing out the !FootNoteMacro[[FootNote(Here is the first footnote)]].  This will be a good test to exercise all of its functionality[[FootNote(Here is the second footnote)]]. And now I'll add an identical footnote and refer to the first footnote again[[FootNote(Here is the second footnote)]]^,^[[FootNote(1)]].
     101      * [[FootNote]]
     102      * Now that I've called the !FootNoteMacro to print all the footnotes[[FootNote(I did that in the paragraph above)]], I should be able to generate more footnotes[[FootNote(It would be really cool if this feature was integrated into the Trac core)]] and print just the one that have been generated since the start of the second paragraph. Just for good measure I'll try referring to some footnotes in the first paragraph again[[FootNote(1)]]^,^[[FootNote(Here is the second footnote)]].
     103      * [[FootNote]]
    103104
     105{{{
     106#!comment
    104107Screen capture of the output that is produced:
    105108
    106109[[Image(FootNoteMacroExample.png)]]
     110}}}
    107111
    108112== Recent Changes ==