Re: DOCBOOK-APPS: Double Side and FOP with 1.53

From
Togan Muftuoglu <>
Date
2002-08-13T10:08:31+00:00
ID
Thread
Re: DOCBOOK-APPS: Double Side and FOP with 1.53
Jens,

* Jens Stavnstrup; <> on 13 Aug, 2002 wrote:
>Togan,
>
>Below is a stylesheet, that solves your problem. I don't know, why I 
>havn't though of this before, since it is a much cleaner solution, and you 
>do not have to copy and override Norms templates.

You are right it did solve :-) It does work with Fop 0.20.4 I owe you
six pack feel free to grab it whenever you are in Istanbul 

-- 

Togan Muftuoglu

<------------------------- simple-fo.xsl--------------------------->

<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	version="1.0"
        xmlns:fo="http://www.w3.org/1999/XSL/Format"
        xmlns:saxon="http://icl.com/saxon">

<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>

<xsl:output method="xml" indent="no"  
              saxon:next-in-chain="fo-post-for-fop.xsl"/>
      
<xsl:param name="paper.type" select="'A4'"/>
<xsl:param name="double.sided"
               select="'1'"/>

<!-- Shall we use extensions -->
<!-- PDF bookmarks and index terms -->
<!-- table extensions -->
<xsl:param name="use.extensions" select="'1'"/>
<xsl:param name="fop.extensions" select="1"/>
<xsl:param name="saxon.extensions" select="1"/>
<xsl:param name="tablecolumns.extension" select="'1'"/>

</xsl:stylesheet>