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] | [Elist Home]


Subject: DOCBOOK-APPS: Bold cells in tables


Platform: DocBook XML 4.1.2, DocBook XSL 1.48

I would like to create a table which look like the below example, when
rendered in in HTML and FO,

All cells with text in them in the above example to be boldfaced, in
the way the contents of <entry> elements in <thead> are, when rendered
in HTML (and FO).  All cells without entries are meant to be filled
out by the reader (with a pen on a paper printout).

 +---------------------------------------------+
 | Some text spanning multiple columns         |
 +---------+---------------+-------------------+
 | Header1 |               |                   |
 +---------+---------------+-------------------+
 | Header2 |               |                   |
 +---------+---------------+-------------------+
 | Header3 |               |                   |
 +---------+---------------+-------------------+
 | Some more text spanning multiple columns    |
 +---------+---------------+-------------------+
 | Header4 |               |                   |
 +---------+---------------+-------------------+
 | Header5 |               |                   |
 +---------+---------------+-------------------+

Is there a way to create it with the above combination of DocBook
document type, and style sheets?  Is there a way to create this with
newer versions of either?  If so, how new?

Can the spanning header be done with multible <tgroup> elements?
Eg. something like this?

 <table>
  <tgroup>
    <thead>
     <entry>Some text spanning multiple columns</entry>
    </thead>
    ...
  </tgroup>
  <tgroup>
    <thead>
     <entry>Some more text spanning multiple columns</entry>
    </thead>
    ...
  </tgroup>
 </table>

(I'm planning to test this out, as soon as I have finished hanging up
some clotheslines in the basement)

But I'm clueless as how to handle getting "Header1", "Header2"
etc. into bold face.

Thanx!


- Steinar



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


Powered by eList eXpress LLC