[pmwiki-users] Numbered headers and table of contents
Pierre Rouzeau
pierre at rouzeau.net
Sun Feb 20 09:46:45 CST 2005
Hello to all,
I have implemented a totally revised version of numbered headers in :
http://www.pmwiki.org/wiki/Cookbook/NumberedHeaders
It does now separates the functions of text indentation with the
directive (:indent:), the numbering of headers with the directive
(:num:) and now provide a complete page table of content, available for
4 levels, set by (:toc:).
So, °, °°, °°° markups have been abandoned, and this does work with !,
!!, !!! and over.
The header numbering is parametrable to have the possibility to set
alphabetic numbering and to define separators, e.g. you can set the
numbering as :
(:num A 1-a.1/ :) instead of the default '1.1.1.1. '.
which will give you numbers like 'A/ ' , 'B 2-c/ ' or 'D 11-f.5/ '
Roman numbering is not possible nor foreseen...
You can also style the table of content as desired.
Regards
Page principale - Main page - www.rouzeau.net <http://www.rouzeau.net>
---------------------------------------------------------------------------
More information about the pmwiki-users
mailing list