]> pere.pagekite.me Git - text-mekanikerord.git/commitdiff
Drop empty TOC from PDF.
authorPetter Reinholdtsen <pere@hungry.com>
Fri, 14 Aug 2020 17:27:59 +0000 (19:27 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Fri, 14 Aug 2020 17:27:59 +0000 (19:27 +0200)
pdf.xsl

diff --git a/pdf.xsl b/pdf.xsl
index c24de008b0916313d65fe7d309dad40771830b6f..8efd73aaf9275492b2a0ef885f628afcdc6466bf 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -9,4 +9,7 @@
   <xsl:param name="page.margin.bottom">0.55in</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>
+
 </xsl:stylesheet>