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 PDF version -->
7 <xsl:param name="paper.type">book5x7.5</xsl:param>
8 <xsl:param name="page.width">5in</xsl:param>
9 <xsl:param name="page.height">7.51in</xsl:param>
11 <xsl:param name="page.margin.inner">1.0in</xsl:param>
12 <xsl:param name="page.margin.outer">0.8in</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 <!-- from http://cygwin.com/ml/docbook-apps/2004-q2/msg00107.html -->
19 <!-- ~~~~~~~~~~~~~~~~ -->
20 <!-- Paragraph layout -->
21 <!-- ~~~~~~~~~~~~~~~~ -->
22 <!-- did not work, hides footnote numbers in front of footnote text.
23 <xsl:template match="para[1]">
24 <fo:block xsl:use-attribute-sets="normal.para.spacing">
25 <xsl:call-template name="anchor"/>
26 <xsl:apply-templates/>
30 <xsl:template match="para">
31 <fo:block xsl:use-attribute-sets="normal.para.spacing">
32 <xsl:attribute name="text-indent">0.15in</xsl:attribute>
33 <xsl:attribute name="space-before.optimum">0pt</xsl:attribute>
34 <xsl:attribute name="space-before.minimum">0pt</xsl:attribute>
35 <xsl:attribute name="space-before.maximum">1pt</xsl:attribute>
36 <xsl:call-template name="anchor"/>
37 <xsl:apply-templates/>