← Prev in month ← Prev in thread

Nested Itemized Lists

From
Tom Browder <>
Date
2010-06-25T11:50:22+00:00
ID
Thread
Nested Itemized Lists
I want a nested, itemized list but haven't found a suitable
explanation on the lists or in either docbook book.

I want a a nested, itemized list to look something like this:

+ item 1
   - item 1.1
+ item 2

I have tried q ways:

Method 1:

  <itemizedlist>
    <listitem><para>item 1</para></listitem>
    <listitem>
      <itemizedlist>
        <listitem><para>item 1.1</para></listitem>
      </itemizedlist>
    </listitem>
    <listitem><para>item 2</para></listitem>
  </itemizedlist>

Yields:

+ item 1
+  - item 1.1
+ item 2

Order is correct, but item 1.1 has two bullets.

Method 2:

  <itemizedlist>
    <listitem><para>item 1</para></listitem>
      <itemizedlist>
        <listitem><para>item 1.1</para></listitem>
      </itemizedlist>
    <listitem><para>item 2</para></listitem>
  </itemizedlist>

Yields:

   - item 1.1
+ item 1
+ item 2

Bullets are correct, but items out of order.

The lists basically look the same in html and pdf except both levels
of bullets are the same in pdf but different in html.

What should I do to correct method 1's two bullets?  Or is there a
better  way altogether?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA
← Prev in month ← Prev in thread