On 20. Sep, 2010, at 4:47 , Stuart Rackham wrote:
>
>
> On 20/09/10 00:47, scaph0 wrote:
>> Good afternoon,
>>
>> Is it possible to start a numbered list (arabic) with an index greater
>> than one, in order to avoid the following message?
>>
>> +asciidoc: WARNING: file.txt: line 40: list item index: expected 1 got
>> 43+
>>
>> This is especially useful in quoted text:
>>
>> [quote, foo, bar]
>> ____
>> blah blah.
>>
>> 43. first list item.
>> 44. second list item.
>
> You could use the HTML ol element start attribute to control HTML list
> numbering, DocBook has no equivalent.
>
> This in your .conf file for HTML outputs (though it generates invalid xHTML
> 1.1 but browsers still render it correctly):
>
> [listtags-numbered] list={id?<a
> name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol
> type="{st...@arabic:1}{st...@loweralpha:a}{st...@upperalpha:a}{st...@lowerroman:i}{st...@upperroman:I}"{start?
> start="{start}"}>|</ol>
>
> Cheers, StuartThat's not correct: http://www.sagehill.net/docbookxsl/Orderedlists.html#ListStartNum http://www.docbook.org/tdg5/en/html/orderedlist.html Michael -- There is always a well-known solution to every human problem -- neat, plausible, and wrong. H. L. Mencken
PGP.sig
Description: This is a digitally signed message part
