]> pere.pagekite.me Git - text-epistlene.git/commitdiff
Drop useless toc pages in PDF.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 7 Mar 2021 09:28:51 +0000 (10:28 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 7 Mar 2021 09:28:51 +0000 (10:28 +0100)
pdf.xsl

diff --git a/pdf.xsl b/pdf.xsl
index c40ae1cfeecbfd70ebfd5393847ad1446151c155..4c7903283edccbb015c0f7223f86ba6d013794e7 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -28,6 +28,9 @@
   <!-- ensure URLs in the text do not end up light gray too -->
   <xsl:param name="latex.hyperparam">linktocpage,colorlinks,linkcolor=black,urlcolor=black,pdfstartview=FitH</xsl:param>
 
   <!-- ensure URLs in the text do not end up light gray too -->
   <xsl:param name="latex.hyperparam">linktocpage,colorlinks,linkcolor=black,urlcolor=black,pdfstartview=FitH</xsl:param>
 
+  <!-- No use showing table of content, it is useless -->
+  <xsl:param name="doc.toc.show">0</xsl:param>
+
   <!-- insert a few latex tricks at the top of the .tex document -->
   <xsl:param name="latex.begindocument">
     <xsl:text>% start of latex.begindocument
   <!-- insert a few latex tricks at the top of the .tex document -->
   <xsl:param name="latex.begindocument">
     <xsl:text>% start of latex.begindocument