OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Strange behaviour for nested, ordered lists?


I'm formatting nested lists for print like this:

      <para>
            <orderedlist numeration="arabic">
              <listitem><para></para></listitem>
              <listitem><para></para></listitem>
              <listitem><para></para></listitem>
              <listitem><para></para></listitem>
                <listitem><para>
                  <orderedlist numeration="loweralpha">
                     <listitem><para></para></listitem>
                     <listitem><para></para></listitem>
                     <listitem><para></para></listitem>
                  </orderedlist>
                </para>
                </listitem>
              <listitem><para></para></listitem>
              <listitem><para></para></listitem>
              <listitem><para><orderedlist numeration="loweralpha">
                     <listitem><para></para></listitem>
                     <listitem><para></para></listitem>
                  </orderedlist>
              </para></listitem> 
              <listitem><para></para></listitem>
              <listitem><para></para></listitem>
            </orderedlist>
      </para>


That does what I think you want. 

Anyone know how to cause lists to be indented from the column margin? 

That would be:

   text . . .
   text . . .
   text . . .
   text . . .
   text . . .
   text . . .
       listitem_text . . . 
       listitem_text . . . 
          nested_list_item_text . . . 
          nested_list_item_text . . . 
          nested_list_item_text . . . 
       listitem_text . . . .
       listitem_text . . . .
   text . . . .
   text . . . .

 
Steve Whitlatch




> I have noticed that when transforming a series of 
> nested lists using the Docbook Stylesheets that,
> when I have:

> <orderedlist>
> <listitem><para>
>  <orderedlist>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
> </orderedlist>
> </para></listitem>
> <listitem><para>
> <orderedlist>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
> </orderedlist>
> </para></listitem>
> <listitem><para>
> <orderedlist>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
>  <listitem><para></para></listitem>
> </orderedlist>
> </para></listitem>
</orderedlist>

> my numbering comes out as:

> 1.
> 1.
>   2.
>  3.
> 2.
>  a.
>  b.
>  c.
> 3.
>  a.
>  b.
>  c.

> Is there a reason why I do not get lowercase Roman in
> my first nested list?





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]