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]

Re: Allow StartsWith/ContinuationOf on OrderedList?


Hmmm, in this case I think that the markup asserts 3.

Since the "continuation" attribute is associated with
lists in general, and list3 below in particular, I don't
think that paragraphs or other non-list elements can
"contain" a list (i.e., put something behind it) in the 
same way that lists can with respect to the continuation
attribute.  I'm starting to doubt myself about listitems 
being able to do so, though.

If </orderedlist> says "I'm done adding listitems to this list"
and continuation says "I didn't really mean that" it seems
to me that it has to refer to the </orderedlist> immediately
prior, not an earlier </orderedlist>.

>> From: Norman Walsh <ndw@nwalsh.com>
>> 
>> / llarsen@sco.com (Lance F. Larsen) was heard to say:
>> | The way I read the markup, the entirety of list 2 is contained within a 
>> | single element of list 1.  Therefore the end of list 2 is not available
>> | to be "continued from" after the close of the list item that contains 
>> | list 2, let alone after the close of list 1.  So, the markup must assert 
>> | 6, not 3.  
>> 
>> What, then, should this produce:
>> 
>> |   <orderedlist id="list1">
>> 1 |     <listitem>...</listitem>
>> 2 |     <listitem>...</listitem>
>> 3 |     <listitem>...</listitem>
>> 4 |     <listitem>...</listitem>
>> 5 |     <listitem>...</listitem>
>> |   </orderedlist>
>> |
>> |   <para>
>> |       <orderedlist id="list2">
>> 1 |         <listitem>...</listitem>
>> 2 |         <listitem>...</listitem>
>> |       </orderedlist>
>> |   </para>
>> | 
>> |   <orderedlist id="list3" continuation="continues">
>> ? |     <listitem id="citem">...</listitem>
>> ? |     <listitem>...</listitem>
>> |   </orderedlist>
>> 
>>                                         Cheers,
>>                                           norm
>> 
>> -- 
>> Norman Walsh <ndw@nwalsh.com>      | If God created us in his own
>> http://www.oasis-open.org/docbook/ | image, we have more than
>> Member, DocBook Editorial Board    | reciprocated.--Voltaire
>> 

     o
    ---  ----
     |  / /         Lance F. Larsen
     | / /
     |/ /           llarsen@sco.com
  o  | /   o
     |/             (908)790-2335
     |
    ---
     o


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