]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Move chapter hack from docbook source to xsl file.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 21 Jul 2015 19:33:29 +0000 (19:33 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 21 Jul 2015 19:33:29 +0000 (19:33 +0000)
data/dblatex-endnotes.xsl
freeculture.xml

index b266e344025ab27bff840ad6a0b128de3864d219..e212b4d1c1adedd89d71ab5c3fdf3367c4f17c87 100644 (file)
@@ -19,6 +19,10 @@ in front of it.
 % latex.begindocument can be active.
 \sloppy
 
+% Hack to get correct chapter numbering with dblatex, as chapter
+% labels are ignored.
+\setcounter{chapter}{-1}
+
 \begin{document}
     </xsl:text>
 
index 088bfee5fa10f51460d4e466a7d46723bd6405e8..a31f284cfde7f1e8089bd6f939eeba887f178126 100644 (file)
@@ -408,8 +408,7 @@ by extremism in the property rights that define it. That is what I
 fear about our culture today. It is against that extremism that this
 book is written.
 </para>
-<!-- Hack to get correct chapter numbering with dblatex -->
-<?latex \setcounter{chapter}{-1} ?>
+
 </preface>
 <!-- PAGE BREAK 15 -->