A nested itemizedlist/listitem should be within the main listitem, like so:
<itemizedlist>
<listitem>
item 1
<itemizedlist>
<listitem>
item 1.1
</listitem>
</itemizedlist>
</listitem>
<listitem>
item 2
</listitem>
</itemizedlist>
(It’s the same in (X)HTML, if you are familiar with that)
Bela
On Friday 25 June 2010 13:49:56 Tom Browder wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
signature.asc
Description: This is a digitally signed message part.
