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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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?




To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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