]> pere.pagekite.me Git - text-destroy-surveillance.git/blobdiff - pdf.xsl
Updated web version.
[text-destroy-surveillance.git] / pdf.xsl
diff --git a/pdf.xsl b/pdf.xsl
index 1e119f1d08240e4df3fb8ce97fc1f2db13aa3236..c40ae1cfeecbfd70ebfd5393847ad1446151c155 100644 (file)
--- a/pdf.xsl
+++ b/pdf.xsl
@@ -4,6 +4,8 @@
   <!-- hack to add [hyphens] option to url package -->
   <xsl:param name="latex.class.book">book}
 \usepackage[hyphens]{url</xsl:param>
   <!-- hack to add [hyphens] option to url package -->
   <xsl:param name="latex.class.book">book}
 \usepackage[hyphens]{url</xsl:param>
+  <xsl:param name="latex.class.article">article}
+\usepackage[hyphens]{url</xsl:param>
 
   <xsl:param name="latex.class.options">a4paper,openright,twoside</xsl:param>
   <xsl:param name="page.width">6in</xsl:param>
 
   <xsl:param name="latex.class.options">a4paper,openright,twoside</xsl:param>
   <xsl:param name="page.width">6in</xsl:param>
   <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.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>
+
+  <!-- The TOC links in the titles, and in blue. -->
+  <!-- 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>
 
   <!-- insert a few latex tricks at the top of the .tex document -->
   <xsl:param name="latex.begindocument">
 
   <!-- insert a few latex tricks at the top of the .tex document -->
   <xsl:param name="latex.begindocument">
 \lfoot[]{}
 }
 
 \lfoot[]{}
 }
 
-% Disable section numbering
-\titleformat{\section}{\normalfont\Large\bfseries}{}{0pt}{}
-\titleformat{\subsection}{\normalfont\large\bfseries}{}{0pt}{}
-
 \begin{document}
 % end of latex.begindocument
     </xsl:text>
 \begin{document}
 % end of latex.begindocument
     </xsl:text>