This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]