This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Re: Top border lacking on repeated table header swith xep
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: 'David Cramer' <dcramer at motive dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 13 Mar 2003 08:50:43 -0500
- Subject: RE: DOCBOOK-APPS: Re: Top border lacking on repeated table header swith xep
Setting border-before-width.conditionality="retain" works for me.
-----Original Message-----
From: David Cramer [mailto:dcramer at motive dot com]
Sent: Wednesday, March 12, 2003 11:27 PM
To: docbook-apps at lists dot oasis-open dot org
Subject: RE: DOCBOOK-APPS: Re: Top border lacking on repeated table
headers with xep
I didn't see any effect when I changed the conditionality to retain on
fo:table, so I added a top and bottom border to the row as a short-term
fix (see below). There's a barely visible problem with this workaround
though: the side borders of the table extend a tiny bit above the top
border on the second and following pages. I haven't ever gotten back to
it to test the conditionality thing further and see if it was me or xep
doing something wrong. Perhaps I misunderstood what David T. was
suggesting?
David
===================================================================
RCS file:
/export/CVS/src/docmodules/doctools/1.0/DocShared/xsl/docbook/motive-pdf
/table.xsl,v
retrieving revision 1.2
retrieving revision 1.1
diff -w -r1.2 -r1.1
12c12
< <!-- <xsl:include href="../common/table.xsl"/> -->
---
> <xsl:include href="../common/table.xsl"/>
15c15
< $Id: table.xsl,v 1.2 2003/02/06 07:38:59 dcramer Exp $
---
> $Id: table.xsl,v 1.1 2003/02/06 07:37:03 dcramer Exp $
27c27
< $Id: table.xsl,v 1.2 2003/02/06 07:38:59 dcramer Exp $
---
> $Id: table.xsl,v 1.1 2003/02/06 07:37:03 dcramer Exp $
254,261d253
< <xsl:if test="@rowsep > 0 and parent::thead">
< <xsl:call-template name="border">
< <xsl:with-param name="side" select="'bottom'"/>
< </xsl:call-template>
< <xsl:call-template name="border">
< <xsl:with-param name="side" select="'top'"/>
< </xsl:call-template>
< </xsl:if>
-----Original Message-----
From: Norman Walsh [mailto:ndw at nwalsh dot com]
Sent: Wednesday, March 12, 2003 6:43 PM
To: David Cramer
Cc: David Tolpin; docbook-apps at lists dot oasis-open dot org
Subject: DOCBOOK-APPS: Re: Top border lacking on repeated table headers
with xep
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's been a month or so, has there been any follow-up on this? Do I
need to add some more properties to the stylesheets?
/ David Cramer <dcramer at broadjump dot com> was heard to say:
| Ok, that make sense, but when I add
border-top-width.conditionality="retain" or
border-before-width.conditionality="retain" to the fo:table, nothing
changes (the top border of the running headers are still not there in
the pdf):
|
| <fo:table margin-left="0pt" margin-right="0pt"
border-collapse="collapse" border-top-width.conditionality="retain"
border-left-style="solid" border-right-style="solid"
border-top-style="solid" border-bottom-style="solid"
border-left-width="0.5pt" border-right-width="0.5pt"
border-top-width="0.5pt" border-bottom-width="0.5pt"
border-left-color="black" border-right-color="black"
border-top-color="black" border-bottom-color="black" width="100%">
|
| David
|
|> -----Original Message-----
|> From: David Tolpin [mailto:dvd at renderx dot com]
|> Sent: Thursday, February 06, 2003 2:17 AM
|> To: docbook-apps at lists dot oasis-open dot org
|> Subject: Re: DOCBOOK-APPS: Top border lacking on repeated
|> table headers
|> with xep
|>
|>
|> >
|> > XEP (2.x at least) for some reason doesn't put a border
|> declared in fo:table
|> > on running headers. So even tho you have frame="all" on
|> your docbook table
|> > and rowseps="1" elsewhere, you still end up with this in
|> your output:
|>
|> David,
|>
|> I'll post your messages sent to xep-support (they have been
|> bounced since sent not from a subscribed
|> address), but the problem is not with XEP but with the
|> stylesheets, and XEP's behaviour is
|> compliant.
|>
|> border-*.conditionality is discard by default. That's why
|> table borders are not drawn
|> at the top and bottom of the intermediate chunks. If one
|> want's the top border to be
|> drawn always, border-before.conditionality="retain" must be
specified.
|>
|> David
|>