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] Table Row Headers

But for PDF output it does not automatically set the first column in bold... while for HTML out it does.

On 1/5/2012 5:52 PM, Bob Stayton wrote:
Yes, support for the table attribute rowheader="firstcol" was added to version 1.76.1 of the stylesheets for PDF output.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- From: "Giuseppe Greco" <giuseppe.greco@agamura.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, January 05, 2012 12:38 AM
Subject: [docbook-apps] Table Row Headers

Dear all,

In my customization layer I added the following statements to get row headers in *PDF* output:

<xsl:template match="entry|entrytbl" name="entry">
<xsl:variable name="cell.content">
<xsl:if test="ancestor::thead or @role='tablehead'">
<xsl:attribute name="font-weight">bold</xsl:attribute>

It works and I get the expected result... but I've figured out that for *HTML* output it is just enough to set the table's "rowheader" property to "firscol" to get row headers.

I'd like to get row headers in *PDF* output the same way... i.e. without setting the entry's "role" prolerty to "tablehead". Is that possible?


*Giuseppe Greco*

*Agamura, Inc.
*6900 Lugano - Switzerland
Phone +41 (0)91 234 51 09 ● Mobile +41 (0)79 590 33 06 ● Skype giuseppe.greco giuseppe.greco@agamura.com <mailto:giuseppe.greco@b-source.ch> - www.agamura.com

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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