]> pere.pagekite.me Git - text-mekanikerord.git/commitdiff
Switch to default style and two column output.
authorPetter Reinholdtsen <pere@hungry.com>
Fri, 14 Aug 2020 20:02:22 +0000 (22:02 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Fri, 14 Aug 2020 20:02:22 +0000 (22:02 +0200)
Makefile
pdf.xsl

index 82b58c812e416b4d2a37924465558fe54cee2638..cda252c508cc07857a6cfbd6494761083cc6c4ec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,6 @@ glossary.xml: make-glossary meksme-utf8.xml
        ./make-glossary
 
 DBLATEX_OPTS = \
-       -T simple \
        -b xetex \
        --indexstyle=myindexstyle.ist \
        -V \
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>