]> pere.pagekite.me Git - text-mekanikerord.git/blob - pdf.xsl
Update generation script to translate topics and improve output.
[text-mekanikerord.git] / pdf.xsl
1 <?xml version='1.0' encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3
4 <!-- xsl:param name="paper.type">a4</xsl:param -->
5 <xsl:param name="double.sided">1</xsl:param>
6 <xsl:param name="page.margin.inner">0.8in</xsl:param>
7 <xsl:param name="page.margin.outer">0.55in</xsl:param>
8 <xsl:param name="page.margin.top">0.55in</xsl:param>
9 <xsl:param name="page.margin.bottom">0.55in</xsl:param>
10 <xsl:param name="latex.class.options">a4paper,openright,twoside,twocolumn</xsl:param>
11
12 <!-- No use showing table of content, it is empty -->
13 <xsl:param name="doc.toc.show">0</xsl:param>
14
15 <!-- no need for a separate author list -->
16 <xsl:param name="doc.collab.show">0</xsl:param>
17
18 <!-- disable revision history until there is a history to display -->
19 <xsl:param name="latex.output.revhistory">0</xsl:param>
20
21 <!-- enable draft mode until ready to publish -->
22 <xsl:param name="draft.mode">yes</xsl:param>
23 <xsl:param name="draft.watermark">1</xsl:param>
24
25 <!-- insert a few latex tricks at the top of the .tex document -->
26 <xsl:param name="latex.begindocument">
27 <xsl:text>
28 % Trick to wrap glossary term
29 \setlist[description]{style=unboxed}
30
31 % Trick to avoid many words sticking out of the right margin of the text.
32 \sloppy
33
34 \begin{document}
35 </xsl:text>
36 </xsl:param>
37
38 </xsl:stylesheet>