Suggestions for the FootNote Macro Filter

The new (Moin 1.6)1 Footnote Macro Filter produces footnotes with back links 2 that can not be easily hidden with CSS rules. For printed output, the back links are useless and should be hidden.3

While it is easy to hide the back links with the following added to print.css, the enclosing "()" characters are not easily hidden:

div.footnotes a {
        display: none;
}

Following is a snippet of the html. The problem is the placement of the enclosing "()" characters.

          <div class="footnotes">
            <ol>
              <li>
                <p>
                  <a id="fnref-544a80a0d3e1b324ba2c93c2105bc80a5a8e0b05" name="fnref-544a80a0d3e1b324ba2c93c2105bc80a5a8e0b05"></a><span class=
                  "anchor" id="line-1"></span>My first footnote. (<a href="#fndef-544a80a0d3e1b324ba2c93c2105bc80a5a8e0b05-0">1</a> <a href=
                  "#fndef-544a80a0d3e1b324ba2c93c2105bc80a5a8e0b05-3">2</a> <a href="#fndef-544a80a0d3e1b324ba2c93c2105bc80a5a8e0b05-4">3</a>)
                </p>
              </li>
              <li>
                <p>
                  <a id="fnref-29009029967c0f9b69a4398dac0c5119ad9917e1" name="fnref-29009029967c0f9b69a4398dac0c5119ad9917e1"></a><span class=
                  "anchor" id="line-1"></span>My second footnote. (<a href="#fndef-29009029967c0f9b69a4398dac0c5119ad9917e1-1">1</a> <a href=
                  "#fndef-29009029967c0f9b69a4398dac0c5119ad9917e1-2">2</a>)
                </p>
              </li>
            </ol>
          </div>

One possibility is to omit the enclosing "()" characters and use an icon instead of the number 1 for the first back link. (Maybe an angled arrow that goes down and to the left.) For users who rarely/never use duplicate footnotes, the presence of multiple "(1)" links after each footnote looks like a bug. For screen output, the back links are a nifty feature -- I like it.


CategoryFeatureRequest

  1. My first footnote (1)

  2. My second footnote (2)

  3. My third footnote (3)

MoinMoin: FeatureRequests/FootNoteMacroFilter (last edited 2008-02-16 16:36:13 by RogerHaase)