1 <?xml version='1.0' encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
3 xmlns:fo="http://www.w3.org/1999/XSL/Format" >
5 <!-- settings from original 2004 hardcover version -->
7 <!-- xsl:param name="paper.type">book5x7.5</xsl:param -->
8 <xsl:param name="page.width">5.51in</xsl:param>
9 <xsl:param name="page.height">8.23in</xsl:param>
11 <xsl:param name="page.margin.top">0.71in</xsl:param>
12 <xsl:param name="page.margin.bottom">0.87in</xsl:param>
13 <xsl:param name="page.margin.inner">0.67in</xsl:param>
14 <xsl:param name="page.margin.outer">0.71in</xsl:param>
15 <xsl:param name="body.start.indent">0pt</xsl:param>
17 <xsl:param name="latex.class.options">pagesize=pdftex,headinclude=on,footinclude=on,twoside</xsl:param>
19 <!-- from http://cygwin.com/ml/docbook-apps/2004-q2/msg00107.html -->
20 <!-- ~~~~~~~~~~~~~~~~ -->
21 <!-- Paragraph layout -->
22 <!-- ~~~~~~~~~~~~~~~~ -->
23 <!-- did not work, hides footnote numbers in front of footnote text.
24 <xsl:template match="para[1]">
25 <fo:block xsl:use-attribute-sets="normal.para.spacing">
26 <xsl:call-template name="anchor"/>
27 <xsl:apply-templates/>
31 <xsl:template match="para">
32 <fo:block xsl:use-attribute-sets="normal.para.spacing">
33 <xsl:attribute name="text-indent">0.15in</xsl:attribute>
34 <xsl:attribute name="space-before.optimum">0pt</xsl:attribute>
35 <xsl:attribute name="space-before.minimum">0pt</xsl:attribute>
36 <xsl:attribute name="space-before.maximum">1pt</xsl:attribute>
37 <xsl:call-template name="anchor"/>
38 <xsl:apply-templates/>