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

Subject: Re: [docbook-apps] Re: [docbook] border-before on thead for tables that spanmultiple pages

Hi Chris,
Looking at your PDF output, it appears that two out of three of your tables
do successfully have the top border after the page break.  The one that
doesn't is the table with two tgroups in it, and it doesn't have the top
border on the start of the second tgroup either, page break or not.  Can you
separate those two tgroups into two tables?

One thing I should clarify: the top border is not the result of the rowsep
attribute.  A rowsep is drawn below the row (and a colsep is drawn to the
right of the column).  The table's top border comes from the frame attribute
on the table element.  According to the CALS spec, the default value for
frame is "all", which is why your tables have the border around them, and
why the first two tables work.  But tgroup doesn't take a frame attribute,
and I don't see a way to specify a top border in DocBook for a tgroup.  The
only solution I can see is to use the tgroupstyle attribute to specify a
frame style, and customize the stylesheet to respond to that.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Chris Johnson" <cjohnson@capcollege.bc.ca>
To: <jirka@kosek.cz>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, November 09, 2004 5:08 PM
Subject: [docbook-apps] Re: [docbook] border-before on thead for tables that
spanmultiple pages


hmm... upgraded to 1.66.1 stylesheets - nope, I'm still seeing missing
rowsep's in tables that span multiple pages. Perhaps this is an XEP issue?

I have attached an XML sample file and the pdf I made from it.

 - XEP 3.7.7 Client Academic on WIN2000
 - docBook XSL stylesheets ver 1.66.1



Chris Johnson

Web Developer
Capilano College
North Vancouver, Canada

604.986.1911 ext. 3455

>>> Jirka Kosek <jirka@kosek.cz> 11/09/2004 7:20:28 AM >>>
Chris Johnson wrote:

> I am having a problem with docBook fo stylesheets and how <thead>
> elements are rendered in tables that span multiple pages. Is there a
> reason the border-before is not rendered? This also happens for rows in
> tables that span multiple pages. I vaguely remember this being discussed
> before, but I can't track down the thread...
> Setup:  I'm using XEP on WIN 2000, docbook-xsl-1.61.3 stylesheets.

Upgrade your stylesheets, this was fixed some time ago.

Or alternatively add following into your customization layer:

<xsl:attribute-set name="table.table.properties">

   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
   Profesionální *kolení a poradenství v oblasti technologií XML.
      Podívejte se na ná* nov* spu*t*ný web http://DocBook.cz
        Podrobný p*ehled *kolení http://xmlguru.cz/skoleni/

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