Gaëtan GUYODO wrote:
Thanks Vincent, Your answer (and FAQ answer) works inside a single page. Good for me. But the proposed solution (to set these 2 lines inside the xwikivars.vm file) seems to fail on my xwiki : 1) the file xwikivars.vm does not exist on standard 1.2 installation 2) I tried that solution by crezating the xwikivars.vm file, without results 3) I tried adding these 2 lines into the xwiki.vm file, without results
xwikivars is located in skins/albatross/
Do you think I forgot something ? Or any other idea to globilize the solution ?
thanks anyway for your previous answer. Gaëtan
Vincent Massol a écrit :
Hi,
I've looked at the source code and I've come up with this: http://www.xwiki.org/xwiki/bin/view/FAQ/NumberedSections
Thanks -Vincent
On Feb 25, 2008, at 2:35 PM, Gaëtan GUYODO wrote:
Hi, Is there any way to have an automatic numbering of headings and sub-headings in every pages of a wiki ? When I create a page with headings and sub-headings, I obtain : Heading 1 Heading 2 Heading 2 Heading 1
and I would have that result : 1 Heading 1 1.1 Heading 2 1.2 Heading 2 2 Heading 1...
Any idea ?
Gaëtan GUYODO
-- Sergiu Dumitriu http://purl.org/net/sergiu/