]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Disable list of figures using dblatex params, not LaTeX editing.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 1 Feb 2018 21:52:40 +0000 (21:52 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 18:12:09 +0000 (18:12 +0000)
Makefile
extra/pdf.xsl

index a6aaf4fb4355ccf5d98e35958e87231f63ad120d..8b9926ceaf6dd2bcdfd9e3c83f35a6e58fe4a7e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,6 @@ epub: $(SOURCE).epub
        perl -p -i -e 's/\[latin1\]\{inputenc\}/[utf8]{inputenc}/; \
                s/\\caption\\end/\\caption{} \\end/; \
                s/ / /g; \
-               s/\\listoffigures//; \
                s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \
                s/\\chapter\{(Foreword|Prefacio|Forord|Introduction|Introducción|Introduksjon)\}/\\chapter*{$$1} \\addcontentsline{toc}{chapter}{$$1}/; \
                s/\\section\{(Notes|Notas)\}/\\section*{$$1}/; \
index 3fe57f35fa79a70fc2733929321d0d6265d60aa8..5703ef26fd2eeb8d88d082a15ee882041e07c9bf 100644 (file)
@@ -15,6 +15,9 @@
   <xsl:param name="double.sided">1</xsl:param>
   <xsl:param name="latex.class.options">openright,twoside</xsl:param>
 
+  <!-- do not list figures -->
+  <xsl:param name="doc.lot.show">example</xsl:param>
+
 <!--
 Make final page blank, which is required for PDFs inteneded for
 extended distribution with LuLu.