Project | WXT | Basics | Download | Documentation | Samples

PI: footnote

The purpose is to produce footnotes. It is based on the existence of span-tags with class="fn" in the content of the module where this PI is encountered.

<?_wxt footnote form="" ?>

The parameters are:

form (optional) Possible values ar:
normal: normal footnote strategy, this is default
show: the footnote text will be integrated in the running text, enclosed i paranthesis. No footnotes
remove: the footnotes will be removed from the text. No footnotes

Styleclass(es) describing this PI is: wxtfnmarker,fn and wxtfootnote. See distributed std styles.

Examples:

This:

Halden is situated about 100km south of 
 Oslo<span class="fn">Oslo is the capital of Norway</span>.
...
<div>
<?_wxt footnote ?>
</div>

will produce this:

Halden is situated about 100km south of 
 Oslo <span class="fnmarker">1</span>
 <span class="fn">Oslo is the capital of Norway</span>
<div class="footnote">
<ol>
    <li>Oslo is the capital of Norway</li>
</ol>
</div>