<!-- 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>
<xsl:param name="page.margin.bottom">0.55in</xsl:param>
- <xsl:param name="latex.class.options">a4paper,openright,twoside,twocolumn</xsl:param>
+ <xsl:param name="latex.class.book">book</xsl:param>
+ <xsl:param name="latex.class.options">a4paper,openright,twoside</xsl:param>
<!-- No use showing table of content, it is empty -->
<xsl:param name="doc.toc.show">0</xsl:param>
<!-- disable revision history until there is a history to display -->
<xsl:param name="latex.output.revhistory">0</xsl:param>
+ <!-- enable draft mode until ready to publish -->
+ <xsl:param name="draft.mode">yes</xsl:param>
+ <xsl:param name="draft.watermark">1</xsl:param>
+
<!-- insert a few latex tricks at the top of the .tex document -->
<xsl:param name="latex.begindocument">
- <xsl:text>
-% Trick to wrap glossary term
-\setlist[description]{style=unboxed}
+ <xsl:text>% start of latex.begindocument
+\usepackage{multicol}
+
+% unboxed = wrap glossary term
+% multicols = get two columns only in mainpart
+\setlist[description]{%
+ style=unboxed,
+ before*=\begin{multicols}{2},
+ after*=\end{multicols}
+% first*=
+% topsep=30pt, % space before start / after end of list
+% itemsep=5pt, % space between items
+% font=\normalfont,
+}
% 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>