[dokuwiki] Re: book navigation features
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 29 Jul 2006 00:16:07 +0100
Michael Edwards wrote:
*Automagic Heading numbers
So you would just do something like have a <section> tag and it would
figure out its number
I did write a header replacement plugin which provides numbering.
http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/header
As I recall it has some drawbacks because headings are tightly wrapped
in DokuWiki's own section management. There was a discussion on this
list on the topic back in late March/early April. Some of the recent
changes to the parser may make it easier to do now.
The simplest solution may be to have a syntax token trigger your
handling the PARSER_HANDLER_DONE event and trawl the instruction list
adding your chosen numbering system to the text in the header
instructions. Hackish but effective.
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] book navigation features
- From: Michael Edwards
Other related posts:
- » [dokuwiki] book navigation features
- » [dokuwiki] Re: book navigation features
*Automagic Heading numbers So you would just do something like have a <section> tag and it would figure out its number
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] book navigation features
- From: Michael Edwards