[pmwiki-users] Footnotes and Endnotes?

Stirling Westrup sti at pooq.com
Wed May 23 16:21:32 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

noskule wrote:
> Stirling Westrup schrieb:

>> A quick search for 'footnotes' and 'endnotes' on PmWiki didn't find me
>> anything relevant. Is there such a more-advanced recipe, or will I have to
>> construct my own?
>>
> 
> As starting point: One could simply design a markup that makes links
>     "{*$Group}{*Name}-Footnote-<FootnoteName>"
> 
> and display them via groupfooter
>     (:pagelist name={*$Group.{*$Name}-Footnote-*
> 
> the question would be howto name <FootnoteName>
> 
> what you think?

I'm thinking I want something that is related to the only existing footnote
recipe in MarkupExtensions. That will make it easier for someone transitioning
to the newer system. So, I was thinking something like this:

[^footnote text^]  - Remember text. Make a reference (from MarkupExtension).
[^#^]              - Spit out the next footnote (form MarkupExtension).
[^^#other^^]	   - Make a reference to footnote '#other'. Use group.page#other
for a different page.
(:footnote #other:) - Start of text for footnote '#other'.
(:footnote:)       - End of current footnote.
(:footnotelist args:)   - Produce all footnotes via pagelist-like mechanism,
including templates.

The idea is to support things like lists inside of footnotes (which don't
currently work if the reference point is, for example, inside a table) and to
allow for separate pages and areas in which to compose long footnotes, so they
don't get lost in the running text.

All the above is just off the top of my head though. I haven't thought out any
of the details yet. I just wanted to know what similar recipes existed first.

Besides, I need to finish this skin I'm working on before I start another recipe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVLBb5dZZEoPlyIURAu7cAKCdcw8LYKQDZnhbkAgldwmI750HbgCgm54g
A1FfUz8rnRN/cYu8uTStZhc=
=PNWl
-----END PGP SIGNATURE-----



More information about the pmwiki-users mailing list