Hi all,

The following patch for docbook.conf and xhtml.conf adds support for
the ordered list start number attribute:

In docbook.conf change the list entry like shown below:

[listtags-numbered]
list=<orderedlist{id? id="{id}"}{role? role="{role}"}{reftext?
xreflabel="{reftext}"} numeration="{style}"{compact-option?
spacing="compact"}{continuation-option? continuation="continues"}
>{title?<title>{title}</title>}|</orderedlist>

In xhtml.conf change the list entry like shown below:

[listtags-numbered]
list=<div class="olist{style? {style}}{compact-option? compact}{role?
{role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol
class="{style}"{start? start="{start}"}>|</ol></div>

This allows a new list to continue with the previous numbering or
start with a new number.

Example use:

[start=10]
. Lorem ipsum
. Lorem ipsum
. Lorem ipsum


Note: Those changes are best applied to a custom .conf file rather the
original files of AsciiDoc.

Cheers

Henrik

-- 
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.

Reply via email to