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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: cals tables: competing colwidths


I had question that didn't seem answered in the CALS table spec.  I'm
wondering what is supposed to happen if a tgroup, thead, and tbody all
have colspec children with different colwidth attributes in them,
especially if they are supposed to be in the same column.  Does the level
with the widest colwidth value "win"?

In case an example helps:

<table>
  <tgroup cols="2">
    <colspec colwidth="4*" />
    <colspec />
    <thead>
      <colspec colwidth="2*" />
      <colspec />
      <row>
        <entry>2*?</entry>
        <entry>.</entry>
      </row>
    </thead>
    <tfoot>
      <colspec colwidth="3*" />
      <colspec />
      <row>
        <entry>3*?</entry>
        <entry>.</entry>
      </row>
    </tfoot>
    <tbody>
      <row>
        <entry>4*?</entry>
        <entry>.</entry>
      </row>
    </tbody>
  </tgroup>
</table>

I don't know whether the table should look something like this ...
 _____________________
| 2*?             | . |
|_________________|___|
| 4*?             | . |
|_________________|___|
| 3*?             | . |
|_________________|___|

... or, heaven forbid, this ...
 _____________
| 2*?     | . |
|_________|___|_______
| 4*?             | . |
|_________________|___|
| 3*?         | . |
|_____________|___|

... or something else completely?

Thanks,

Max Starkenburg
http://cnx.org


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