[pmwiki-users] page toc enhancement: toc-hide

noskule noskule at gmx.net
Tue Mar 21 03:50:29 CST 2006


Hi John
Thats realy great, i have to start a new skin with fixed sidebar :-)
I checked it out see: 
http://www.netstreams.org/pmwiki_clean/index.php?n=PmWiki.DocumentationIndex

there seams a problem that it works, exept of the remote and target page 
are the same.
* If you go to DocumentationIndex no toc will show up in the sidebar
* if you go to any other page the tox will be displayed
grz nos


John Rankin schrieb:

>The latest version of Cookbook.PageTableOfContents adds a 
>(:toc-hide:) directive. This allows authors to define a 
>"remote table of contents" while omitting a toc from the 
>remote page.
>
>Put (:toc-page PageName:) on SomePage to generate a remote 
>toc for PageName. 
>
>Put (:toc-hide:) on PageName to generate the required 
>heading anchors, without generating a toc. Like (:toc:),
>it generates anchors for headings after the directive.
>
>Note: you cannot use (:toc-back:) on the same page as
>(:toc-hide:), as there is no toc to go back to.
>
>This enhancement will also be in the next PublishPDF 
>release.
>  
>





More information about the pmwiki-users mailing list