]> pere.pagekite.me Git - text-mekanikerord.git/blobdiff - pdf.xsl
Prepare to have shop info in colophon page.
[text-mekanikerord.git] / pdf.xsl
diff --git a/pdf.xsl b/pdf.xsl
index 5d8f6769dc221e98b13e13bfc259b960056baf19..2d38579fb4e488298710484724f66071652913cf 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -3,6 +3,8 @@
 
   <!-- xsl:param name="paper.type">a4</xsl:param -->
   <xsl:param name="double.sided">1</xsl:param>
+  <xsl:param name="page.width">6in</xsl:param>
+  <xsl:param name="page.height">9in</xsl:param>
   <xsl:param name="page.margin.inner">0.8in</xsl:param>
   <xsl:param name="page.margin.outer">0.55in</xsl:param>
   <xsl:param name="page.margin.top">0.55in</xsl:param>
@@ -32,7 +34,7 @@
 % multicols = get two columns only in mainpart
 \setlist[description]{%
   style=unboxed,
-  before*=\begin{multicols}{3},
+  before*=\begin{multicols}{2},
   after*=\end{multicols}
 %  first*=
 %  topsep=30pt,               % space before start / after end of list
 % Trick to avoid many words sticking out of the right margin of the text.
 \sloppy
 
+% The microtype package provides the ability to micromanage your
+% typography. When invoked without any options it does some nice things
+% like protruding punctuation over the edge of the right margin to make
+% the margin appear smoother. Basically it makes your book look more
+% professional with very little effort. It also has a ton of options if
+% you want to micromanage even more.
+\usepackage{microtype}
+
 \begin{document}
 % end of latex.begindocument
     </xsl:text>
   </xsl:param>
 
+  <!-- disable chapter numbering for glossary -->
+  <xsl:param name="glossary.numbered">0</xsl:param>
+
 </xsl:stylesheet>