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]
Other format: [Raw text]

[docbook] orderedlists continuing over tablerows


Hello,

I have a table (or actually some tables...) with an orderedlist in the first
column, and references to articles about the subject in the columns
following. Something like this:

label			article	page
1. First item		 1	 1
   a. First subitem	 2	 5
   b. Second subitem	 4	12
2. Second item	 7	21
3. Third item		 9	27
   a. First subitem	10	35
   b. Second subitem	13	50
4. Fourth item		14	56
5. Fifth item		16	68

The table will be in a Web publication (The content is for a site which
contains Dutch lawtexts, therefore shouldn't contain any errors). To keep
every reference on the same line with the corresponding item (with different
browser-widths) i've put every item and corresponding reference in rows. 
Using inheritence and continuation I've tried to keep the orderedlist
intact, but I can't seem to get it proper.

Here the XML (stripped to tbody):
<tbody>
<row><entry><para>artikel</para></entry><entry>2.24</entry><entry/></row>
<row><entry><para>lid</para></entry><entry>1</entry><entry>2</entry></row>
<row><entry><orderedlist><listitem><para>1
Woonfunctie</para></listitem></orderedlist></entry><entry/><entry/></row>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha"><listitem><para>1a woonfunctie van een
woonwagen</para></listitem></orderedlist></para></listitem></orderedlist></e
ntry><entry>-</entry><entry>-</entry></row>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha" continuation="continues"><listitem><para>1b andere
woonfunctie</para></listitem></orderedlist></para></listitem></orderedlist><
/entry><entry>1</entry><entry>-</entry></row>
<row><entry><orderedlist inheritnum="inherit"
continuation="continues"><listitem><para>2
Bijeenkomstfunctie</para></listitem></orderedlist></entry><entry>1</entry><e
ntry>-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>3
Celfunctie</para></listitem></orderedlist></entry><entry>1</entry><entry>-</
entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>4
Gezondheidszorgfunctie</para></listitem></orderedlist></entry><entry>1</entr
y><entry>-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>5
Industriefunctie</para></listitem></orderedlist></entry><entry/><entry/></ro
w>
<row><entry><orderedlist inheritnum="ignore"
continuation="continues"><listitem><para><orderedlist
numeration="loweralpha"><listitem><para>5a lichte
industriefunctie</para></listitem></orderedlist></para></listitem></orderedl
ist></entry><entry>-</entry><entry>-</entry></row>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha" continuation="continues"><listitem><para>5b andere
industriefunctie</para></listitem></orderedlist></para></listitem></orderedl
ist></entry><entry>1</entry><entry>-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>6
Kantoorfunctie</para></listitem></orderedlist></entry><entry>1</entry><entry
>-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>7
Logiesfunctie</para></listitem></orderedlist></entry><entry>1</entry><entry>
-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>8
Onderwijsfunctie</para></listitem></orderedlist></entry><entry>1</entry><ent
ry>-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>9
Sportfunctie</para></listitem></orderedlist></entry><entry>1</entry><entry>-
</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>10
Winkelfunctie</para></listitem></orderedlist></entry><entry>1</entry><entry>
-</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>11 Overige
gebruiksfunctie</para></listitem></orderedlist></entry><entry/><entry/></row
>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha"><listitem><para>11a overige gebruiksfunctie voor het
personenvervoer, met een gebruiksoppervlakte van meer dan 50
m<superscript>2</superscript></para></listitem></orderedlist></para></listit
em></orderedlist></entry><entry>1</entry><entry>-</entry></row>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha" continuation="continues"><listitem><para>11b overige
gebruiksfunctie voor het stallen van
motorvoertuigen</para></listitem></orderedlist></para></listitem></orderedli
st></entry><entry>1</entry><entry>-</entry></row>
<row><entry><orderedlist inheritnum="inherit"><listitem><para><orderedlist
numeration="loweralpha" continuation="continues"><listitem><para>11c andere
overige
gebruiksfunctie</para></listitem></orderedlist></para></listitem></orderedli
st></entry><entry>-</entry><entry>2</entry></row>
<row><entry><orderedlist continuation="continues"><listitem><para>12
Bouwwerk geen gebouw
zijnde</para></listitem></orderedlist></entry><entry>-</entry><entry>2</entr
y></row>
</tbody>

I've included the enummeration which should appear in the text, as easy
reference.

I hope someone can help me here, or just point out: 
- If this is part of the mentioned bug of orderedlist itself. 
- Some workaround. The original table is already made with the numbers as
plain text (and &nbsp; for spacing), but I would like to have this the
proper way.

Thanx in advance,

Epco de Ruiter


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