This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Problems with rowsep & colsep in informaltable
- From: Kai Schröder <cyberian at arcor dot de>
- To: "Christof M. von Ah" <Christof dot vonAh at gmx dot ch>,<docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 19 Jan 2004 20:18:56 +0100
- Subject: Re: [docbook-apps] Problems with rowsep & colsep in informaltable
- References: <20040119190548.CC4166A7FCD@mail-in-02.arcor-online.net>
On Monday 19 January 2004 20:05, Christof M. von Ah wrote:
> Hi,
> I'm about to write a book and want to make the table border as well as the
> row and column borders invisible.
Hi Christof
Create a file mybook.xsl with this content:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:import href="../docbook-xsl/fo/docbook.xsl"/>
<!-- border of table -->
<xsl:param name="table.frame.border.thickness">0.25pt</xsl:param>
<xsl:param name="table.frame.border.style">solid</xsl:param>
<xsl:param name="table.frame.border.color">black</xsl:param>
<!-- border of table cells -->
<xsl:param name="table.cell.border.thickness">0.25pt</xsl:param>
<xsl:param name="table.cell.border.style">solid</xsl:param>
<xsl:param name="table.cell.border.color">black</xsl:param>
<!-- paddings in table cells -->
<xsl:attribute-set name="table.cell.padding">
<xsl:attribute name="padding-left">0.19cm</xsl:attribute>
<xsl:attribute name="padding-right">0.19cm</xsl:attribute>
<xsl:attribute name="padding-top">0mm</xsl:attribute>
<xsl:attribute name="padding-bottom">0mm</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
Instead of fo/docbook.xsl use your customized mybook.xsl in future for PDF
generation.
A good online ressource about docbook XSL customizing is "DocBook XSL: The
Complete Guide" from Bob Stayton (http://www.sagehill.net/docbookxsl/
index.html).
Regards, Kai
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.