This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

<*list> In or After <para>?


Hi!

There seem to be two choices when it comes to <*list> elements
(<itemizedlist>, <orderedlist>, etc.).

My questions:

1. Which of the following two ways is the "right" way to do this?
2. Is it desirable to use <para>s inside <listitem>s or should one try to
use just <listitem>s (without the <para>s inside)?

1. Put it INSIDE a <para>, like this

	<para>
	  This paragraph contains some text
          <itemizedlist>
            <listitem>
              <para>
                First item
              </para>
            </listitem>
            <listitem>
              <para>
                Second item
              </para>
            </listitem>
          <itemizedlist>
        </para>

2. Put it AFTER a <para>, like this

        <para>
          This paragraph contains some text
        </para>
        <itemizedlist>
          <listitem>
            <para>
              First item
            </para>
          </listitem>
          <listitem>
            <para>
              Second item
            </para>
          </listitem>
        <itemizedlist>

Thanks for your help!

Greetings,

	Holger


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]