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, Stuart
____ Regards,
-- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
