[pmwiki-users] How to add to (:closeall:)

John Rankin john.rankin at affinity.co.nz
Wed May 17 00:51:58 CDT 2006


What is the trick to adding more items to the evaluation 
of (:closeall:) markup?

When outputting wikibook xml, I need to issue closing tags 
at the end of the page of the form
    </tbook:subsection></tbook:section>
if these have been opened within the page.

It appears that this is what the (:closeall:) directive is 
for. So how does one tell pmwiki to process an extra "close 
any open sections" rule? It has to close open sections after
pmwiki has closed any open blocks.

Do I change Markup('closeall' ...) to add the special rule, 
or is there a better way?

Has anybody done this? TIA
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list