Question How to get numbered sections?
Answer Set the following 2 lines at the beginning of your document:

#set ($context.tocNumbered = true)
#set ($context.tocData = $tdoc.getTOC(2, 6, true))

If you want to have numbered sections across your wiki, one solution is to set these 2 lines inside the xwikivars.vm templates file in the templates/ dir inside the XWiki webapp.

Version 1.1 last modified by Vincent Massol on 25/02/2008 at 16:43

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: Vincent Massol on 2008/02/25 16:41
This wiki is licensed under a Creative Commons license
1.5.2.12758