[pmwiki-users] Page Table of Contents bug

John Rankin john.rankin at affinity.co.nz
Wed Feb 8 17:57:47 CST 2006


On Wednesday, 8 February 2006 10:18 AM, Kurt Devlin <kurt.devlin at gmail.com> wrote:
>Thanks for your reply and the additional information!
>
>I wound up downloading the PageTableOfContents recipe and this
>is working great. It provides a lot cleaner presentation that
>what we were using. Very nice!
>
> I may have stumbled across a bug in it though. I was glad to
>see from the documentation that it used existing anchors, but
>when I tried it on my existing page it didn't work. A little
>tweaking of the markup and I found out that having a space
>between the heading markup (!!) and the anchor markup
>([[#anchor]]) broke the "use existing anchor feature". When I
>removed the space, it worked fine.

This should now be fixed. Get the latest version from
http://pmwiki.org/wiki/Cookbook/PageTableOfContents

It will also be in the next (2.0.0) release of PublishPDF.
Thanks for letting me know.

New feature: show/hide toggle
=====================
The toc heading now includes a show/hide toggle. See an 
example at
http://www.wikipublisher.org/wiki/index.php?n=Wikipublisher.FAQ

Click the "hide" link. Then click the 'show' link.
The recipe is written in a way that allows anyone to add 
content toggling to a recipe or skin. Perhaps this should 
be in the core -- eg I would love to hide the markup 
quick reference when viewing a preview.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list