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] Problems with rowsep & colsep in informaltable


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



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