]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Make final page blank.
authorPetter Reinholdtsen <pere@hungry.com>
Wed, 29 Jul 2015 22:50:36 +0000 (00:50 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Wed, 29 Jul 2015 22:50:36 +0000 (00:50 +0200)
Using patch from Ben Guillon in pull request #6.

data/lulu.xsl

index 69d2b0a54a7e7800b7302b9f3f07afa61842771a..da53db26b4e6fa0d02df6c3e6376bd55c77bc3ca 100644 (file)
@@ -26,4 +26,17 @@ http://www.lulu.com/create/books
 <!-- openright,twoside - proper double sided printing -->
 <xsl:param name="latex.class.options">headinclude=on,footinclude=on,openright,twoside</xsl:param>
 
 <!-- openright,twoside - proper double sided printing -->
 <xsl:param name="latex.class.options">headinclude=on,footinclude=on,openright,twoside</xsl:param>
 
+<!--
+Make final page blank, which is required for PDFs inteneded for
+extended distribution with LuLu.
+-->
+
+<xsl:param name="latex.enddocument">
+  <xsl:text>\pagebreak
+\thispagestyle{empty}
+~
+\end{document}
+  </xsl:text>
+</xsl:param>
+
 </xsl:stylesheet>
 </xsl:stylesheet>