]> pere.pagekite.me Git - text-destroy-surveillance.git/commitdiff
Found better way to drop section numbering.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 13 Oct 2020 20:09:19 +0000 (22:09 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 13 Oct 2020 20:09:19 +0000 (22:09 +0200)
pdf.xsl

diff --git a/pdf.xsl b/pdf.xsl
index 1e119f1d08240e4df3fb8ce97fc1f2db13aa3236..0d596871d4d7a9d454869f925f9c08d08a016d1a 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -20,6 +20,7 @@
   <xsl:param name="doc.publisher.show">0</xsl:param>
   <xsl:param name="draft.mode">yes</xsl:param>
   <xsl:param name="draft.watermark">1</xsl:param>
+  <xsl:param name="doc.section.depth">0</xsl:param>
 
   <!-- insert a few latex tricks at the top of the .tex document -->
   <xsl:param name="latex.begindocument">
 \lfoot[]{}
 }
 
-% Disable section numbering
-\titleformat{\section}{\normalfont\Large\bfseries}{}{0pt}{}
-\titleformat{\subsection}{\normalfont\large\bfseries}{}{0pt}{}
-
 \begin{document}
 % end of latex.begindocument
     </xsl:text>