On Aug 8, 2011, at 1:10 AM, <ricardo.julio.rodriguez.fernan...@sergas.es> 
<ricardo.julio.rodriguez.fernan...@sergas.es> wrote:

> Hi, Vincent. As usual, thanks for your help. Please, see below...
> 
> ________________________________________
> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Vincent 
> Massol [vinc...@massol.net]
> Sent: 07 August 2011 13:53
> To: XWiki Users
> Subject: Re: [xwiki-users] a TOC Macro issue?
> 
> On Aug 7, 2011, at 10:00 AM, Vincent Massol wrote:
> 
>> 
>> On Aug 6, 2011, at 8:06 PM, Vincent Massol wrote:
>> 
>>> Hi Ricardo,
>>> 
>>> On Aug 6, 2011, at 12:24 AM, <ricardo.julio.rodriguez.fernan...@sergas.es> 
>>> <ricardo.julio.rodriguez.fernan...@sergas.es> wrote:
>>> 
>>>> Hi all!
>>>> 
>>>> Running XWiki Enterprise 2.4.30451 I'm not able to get 1.2.3 format 
>>>> numbered TOC entries. Here what I'm doing:
>>>> 
>>>> http://ebiotic.net/bin/IDIS/AnnualReport
>>>> 
>>>> And there the concerned XWiki doc...
>>>> 
>>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro
>>>> 
>>>> Please, were is Note 2? Within the Parameters definition section ir reads:
>>>> 
>>>> "if should generate numbering (1.2.3 format) for titles (see also Note 2)"
>>>> 
>>>> I've browsed Jira issues for a description of the problem (solved or not) 
>>>> to no avail.
>>>> 
>>>> Please, where am I wrong? Thanks for your help!
>>> 
>>> ok here's what I gathered:
>>> 
>>> 1) Each level starts at 1 currently. It's 1.1.1 format and not 1.2.3 
>>> format. The doc needs to be updated (done). Please open a jira if you need 
>>> the other format
>>> 2) I couldn't find note 2 either. I've removed it from the doc.
>>> 3) I couldn't find a jira issue about this
>> 
>> Actually everything is possible using some CSS (depending on which browsers 
>> you wish to support).
>> 
>> So what do you need:
>> 
>> 1 nnnnn
>> 2 nnnnn
>>  2.1 nnnnnnnn
>> 3 nnnnn
>> 
>> or
>> 
>> 1 nnnnn
>> 2 nnnnn
>>  3 nnnnnnnn
>> 4 nnnnn
>> 
>> ?
>> 
>> One example: http://www.24k.com.sg/blog-2.html
> 
>>> I've documented this on:
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample3:Differentnumberingofsublists
> 
> That is pretty clear and workds without a glitch (I've tried updated releases 
> of Safari, Firefox and OmniWeb in a Mac OS X, 10.5.8). Thank you so much!

hmm something I don't understand. You say it works fine and below you say it's 
not working and you don't see 2.1… Which is it? :)

As you can see on 
http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample3:Differentnumberingofsublists
 the screenshot does show 2.1.

I've checked http://ebiotic.net/bin/Draft/TOC?xpage=xml and I cannot see any 
Stylesheet extension in it. Have you put it somewhere else?

Thanks
-Vincent

> But what is not clear for me yet is how "numbered=true" must work. Here what 
> I see:
> 
> http://ebiotic.net/bin/Draft/TOC
> 
> I've browsed some sites where there are references to 1.1.1 format for 
> numbering. For instance:
> 
> http://www.java2s.com/Code/XML/XSLT-stylesheet/numberlevelmultiplecountfromdataformat111.htm
> 
> Following this, I expect:
> 
> 1.    Level 1
> 1.1.       Level 2
> 2.    Level 3
> 2.1.        Level 4
> 2.2.        Level 5
> 
> But I get:
> 
> 1.     Level 1
>   1.    Level 2
> 2.     Level 3
>   1.    Level 4
>   2.    Level 5
> 
> Please, am I missing anything?
> 
> Thanks!
> 
>>> Thanks
>>> -Vincent
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos 
> adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu 
> destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, 
> por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
> 
> Nota: La informaci?n contenida en este mensaje y sus posibles documentos 
> adjuntos es privada y confidencial y est? dirigida ?nicamente a su 
> destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
> por favor elim?nelo. La distribuci?n o copia de este mensaje no est? 
> autorizada.
> 
> See more languages: http://www.sergas.es/aviso_confidencialidad.htm
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to