On 20/09/10 18:46, Michael Wild wrote:
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, Stuart
That's not correct:
http://www.sagehill.net/docbookxsl/Orderedlists.html#ListStartNum
This relies on an XML processing instruction i.e. it's not part of DocBook and
it's use is dependent on the downstream DocBook processor (in this case DocBook
XSL Stylesheets).
http://www.docbook.org/tdg5/en/html/orderedlist.html
This is new in DocBook 5, asciidoc generates DocBook 4.5.
Cheers, Stuart
Michael
--
There is always a well-known solution to every human problem -- neat,
plausible, and wrong.
H. L. Mencken
--
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.