]> pere.pagekite.me Git - text-free-culture-lessig.git/blob - data/origsize.xsl
f82c1d35c07f3b0ffe98397a8b5e79e59488c0c5
[text-free-culture-lessig.git] / data / origsize.xsl
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" >
4
5 <!-- settings from original 2004 hardcover version -->
6
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>
10
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>
16
17 <xsl:param name="latex.class.options">pagesize=pdftex,headinclude=on,footinclude=on,twoside,openright</xsl:param>
18
19 <!-- FIXME: To move in lulu.xsl -->
20 <xsl:param name="latex.enddocument">
21 <xsl:text>\pagebreak
22 \thispagestyle{empty}
23 ~
24 \end{document}
25 </xsl:text>
26 </xsl:param>
27
28 <!-- from http://cygwin.com/ml/docbook-apps/2004-q2/msg00107.html -->
29 <!-- ~~~~~~~~~~~~~~~~ -->
30 <!-- Paragraph layout -->
31 <!-- ~~~~~~~~~~~~~~~~ -->
32 <!-- did not work, hides footnote numbers in front of footnote text.
33 <xsl:template match="para[1]">
34 <fo:block xsl:use-attribute-sets="normal.para.spacing">
35 <xsl:call-template name="anchor"/>
36 <xsl:apply-templates/>
37 </fo:block>
38 </xsl:template>
39
40 <xsl:template match="para">
41 <fo:block xsl:use-attribute-sets="normal.para.spacing">
42 <xsl:attribute name="text-indent">0.15in</xsl:attribute>
43 <xsl:attribute name="space-before.optimum">0pt</xsl:attribute>
44 <xsl:attribute name="space-before.minimum">0pt</xsl:attribute>
45 <xsl:attribute name="space-before.maximum">1pt</xsl:attribute>
46 <xsl:call-template name="anchor"/>
47 <xsl:apply-templates/>
48 </fo:block>
49 </xsl:template>
50 -->
51 </xsl:stylesheet>