| Subject: | Re: [xwiki-users] Numbered sections | |
|---|---|---|
| From: | Joris Dirks (jor...@user.stekje.nl) | |
| Date: | Apr 27, 2011 12:42:31 pm | |
| List: | org.xwiki.users | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Joris Dirks | Apr 27, 2011 7:48 am | |
| Vincent Massol | Apr 27, 2011 7:57 am | |
| Joris Dirks | Apr 27, 2011 12:42 pm | |
| Thomas Mortagne | Apr 28, 2011 12:57 am | |
| Joris Dirks | May 1, 2011 3:56 am |
| Subject: | Re: [xwiki-users] Numbered sections | |
|---|---|---|
| From: | Joris Dirks (jor...@user.stekje.nl) | |
| Date: | Apr 27, 2011 12:42:31 pm | |
| List: | org.xwiki.users | |
On Wed, Apr 27, 2011 at 4:57 PM, Vincent Massol <vinc...@massol.net> wrote:
Hi Joris,
On Apr 27, 2011, at 4:49 PM, Joris Dirks wrote:
I came across an old discussion on automatic numbering of headings, Vincent Massol offered this solution: http://www.xwiki.org/xwiki/bin/view/FAQ/NumberedSections
A great feature, but I am a bit at loss how to implement this in XWiki 2.0 syntax. {{velocity}} #set ($context.tocNumbered = true) #set ($context.tocData = $tdoc.getTOC(2, 6, true)) {{/velocity}} ==example header==
didn't do the trick.
Any hints?
This is not implemented yet for XWiki Syntax 2.0.
The code you pasted above is for XWiki Syntax 1.0.
Ah, shame. Hoped there was an easy resolution. Thanks for the swift reply though!
_______________________________________________ users mailing list use...@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

