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.inner">0.67in</xsl:param>
12 <xsl:param name="page.margin.outer">0.71in</xsl:param>
13 <xsl:param name="body.start.indent">0pt</xsl:param>
14 <xsl:param name="body.font.family">Times</xsl:param>
15 <xsl:param name="title.font.family">Times</xsl:param>
16 <xsl:param name="dingbat.font.family">Times</xsl:param>
18 <xsl:param name="latex.class.book">scrreprtmargins</xsl:param>
19 <xsl:param name="latex.class.options">paper=5.51in:8.23in,pagesize=pdftex,headinclude=on,footinclude=on,twoside</xsl:param>
21 <!-- from http://cygwin.com/ml/docbook-apps/2004-q2/msg00107.html -->
22 <!-- ~~~~~~~~~~~~~~~~ -->
23 <!-- Paragraph layout -->
24 <!-- ~~~~~~~~~~~~~~~~ -->
25 <!-- did not work, hides footnote numbers in front of footnote text.
26 <xsl:template match="para[1]">
27 <fo:block xsl:use-attribute-sets="normal.para.spacing">
28 <xsl:call-template name="anchor"/>
29 <xsl:apply-templates/>
33 <xsl:template match="para">
34 <fo:block xsl:use-attribute-sets="normal.para.spacing">
35 <xsl:attribute name="text-indent">0.15in</xsl:attribute>
36 <xsl:attribute name="space-before.optimum">0pt</xsl:attribute>
37 <xsl:attribute name="space-before.minimum">0pt</xsl:attribute>
38 <xsl:attribute name="space-before.maximum">1pt</xsl:attribute>
39 <xsl:call-template name="anchor"/>
40 <xsl:apply-templates/>