]> pere.pagekite.me Git - text-mekanikerord.git/blobdiff - pdf.xsl
Switch to default style and two column output.
[text-mekanikerord.git] / pdf.xsl
diff --git a/pdf.xsl b/pdf.xsl
index 8efd73aaf9275492b2a0ef885f628afcdc6466bf..0ce49ad528e4c2d5aafa1a8d4df2356868f1e85a 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -7,9 +7,28 @@
   <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</xsl:param>
+  <xsl:param name="latex.class.options">a4paper,openright,twoside,twocolumn</xsl:param>
 
   <!-- No use showing table of content, it is empty -->
   <xsl:param name="doc.toc.show">0</xsl:param>
 
+  <!-- no need for a separate author list -->
+  <xsl:param name="doc.collab.show">0</xsl:param>
+
+  <!-- disable revision history until there is a history to display -->
+  <xsl:param name="latex.output.revhistory">0</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}
+
+% Trick to avoid many words sticking out of the right margin of the text.
+\sloppy
+
+\begin{document}
+    </xsl:text>
+  </xsl:param>
+
 </xsl:stylesheet>