]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Use \sloppy with LaTeX to avoid words sticking out of right margin.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 5 Dec 2019 07:01:37 +0000 (08:01 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 5 Dec 2019 07:01:37 +0000 (08:01 +0100)
extra/pdf.xsl

index 714f06dfc812697a70b5e9ef48bfd6d75105e84c..ae376402a712a9a24c6a094f5f20124b0952acd0 100644 (file)
 
   <!-- do not list figures -->
   <xsl:param name="doc.lot.show">example</xsl:param>
 
   <!-- do not list figures -->
   <xsl:param name="doc.lot.show">example</xsl:param>
+
+  <xsl:param name="latex.begindocument">
+    <xsl:text>
+% Trick to avoid many words sticking out of the right margin of the text.
+% Note, only one latex.begindocument can be active.
+\sloppy
+
+\begin{document}
+    </xsl:text>
+  </xsl:param>
+
 <!--
 Make final page blank, which is required for PDFs inteneded for
 extended distribution with LuLu.
 <!--
 Make final page blank, which is required for PDFs inteneded for
 extended distribution with LuLu.