| From | Sent On | Attachments |
|---|---|---|
| Robert P. J. Day | Jul 26, 2002 9:12 am | |
| Robert McIlvride | Jul 26, 2002 10:22 am | |
| Robert P. J. Day | Jul 26, 2002 10:37 am | |
| Bob Stayton | Jul 27, 2002 1:27 am | |
| Yann Dirson | Jul 29, 2002 2:43 am | |
| Norman Walsh | Jul 30, 2002 3:49 pm |
| Subject: | Re: DOCBOOK: another markup question -- multi-level exercises | |
|---|---|---|
| From: | Bob Stayton (bo...@caldera.com) | |
| Date: | Jul 27, 2002 1:27:03 am | |
| List: | org.oasis-open.lists.docbook | |
On Fri, Jul 26, 2002 at 01:35:25PM -0400, Robert P. J. Day wrote:
On Fri, 26 Jul 2002, Robert McIlvride wrote:
Hi Robert,
It works that automatically, at least for us. For example, this markup:
<orderedlist> <listitem> <para>Ordered list item 1.</para> </listitem> <listitem> <para>Beginning of sub-list 2.</para> <orderedlist> <listitem> <para>Ordered list item 2a.</para> </listitem> <listitem> <para>Ordered list item 2b.</para> </listitem> </orderedlist> </listitem> <listitem> <para>Ordered list item 3.</para> </listitem> </orderedlist>
Gives us this result:
1.Ordered list item 1.
2.Beginning of sub-list 2.
a.Ordered list item 2a.
b.Ordered list item 2b.
3.Ordered list item 3.
as it is, i just verified that, but it's not clear from the "docbook: tdg" book that this is what would happen. the synopsis table claims that numeration for an orderedlist is "none", yet on the next page, it states that if numeration is not specified, arabic numerals are used.
and there is no mention of the default numeration for sublists. is there another part of the book i should have been looking at? just being typically confused.
The numbering style is established by the stylesheets, and the Definitive Guide does not document the stylesheets. It documents the element semantics, and provides some guidance ("processing expectations") for how a stylesheet should handle the element. But there can be many different stylesheets for DocBook, with different styles for numbering.
--
Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bo...@caldera.com





