]> pere.pagekite.me Git - text-free-culture-lessig.git/blob - data/lulu.xsl
Switch to 5.5x8.5 inch size on Lulu.
[text-free-culture-lessig.git] / data / lulu.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
4 <!-- settings for LuLu PDF version -->
5 <!--
6 https://amyrhoda.wordpress.com/2012/05/25/latex-to-lulu-the-making-of-aosa-geometry-and-headers-and-footers/
7 http://connect.lulu.com/t5/ISBN-Distribution/Mandatory-Print-Book-Distribution-Requirements/ta-p/33632
8 http://www.lulu.com/create/books
9 -->
10
11 <xsl:param name="doc.collab.show">0</xsl:param>
12
13 <!-- See "Global Page Setup" in the dblatex PDF manual for details -->
14 <xsl:param name="page.width">5.5in</xsl:param>
15 <xsl:param name="page.height">8.5in</xsl:param>
16 <xsl:param name="page.margin.inner">0.8in</xsl:param>
17 <xsl:param name="page.margin.outer">0.55in</xsl:param>
18
19 <!-- reduce from 0.55in, to ignore header and footer in margin calculation -->
20 <!-- FIXME figure out the proper number to use -->
21 <xsl:param name="page.margin.top">0.15in</xsl:param>
22 <xsl:param name="page.margin.bottom">0.30in</xsl:param>
23
24 <xsl:param name="body.start.indent">0pt</xsl:param>
25 <xsl:param name="double.sided">1</xsl:param>
26
27 <!-- used by dblatex -->
28 <!-- headinclude=on,footinclude=on - ? -->
29 <!-- openright,twoside - proper double sided printing -->
30 <xsl:param name="latex.class.options">openright,twoside</xsl:param>
31
32 <!--
33 Make final page blank, which is required for PDFs inteneded for
34 extended distribution with LuLu.
35 -->
36
37 <xsl:param name="latex.enddocument">
38 <xsl:text>\pagebreak
39 \thispagestyle{empty}
40 ~
41 \end{document}
42 </xsl:text>
43 </xsl:param>
44
45 </xsl:stylesheet>