From: Petter Reinholdtsen Date: Tue, 21 Jul 2015 19:33:29 +0000 (+0000) Subject: Move chapter hack from docbook source to xsl file. X-Git-Tag: edition-2015-10-10~420 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/2f2cbc96ddd6a18daaaed43d2893b0dec4f60a5f?hp=92a3d528c540a3acf41dc9c0bdb465f3328d3c40 Move chapter hack from docbook source to xsl file. --- diff --git a/data/dblatex-endnotes.xsl b/data/dblatex-endnotes.xsl index b266e34..e212b4d 100644 --- a/data/dblatex-endnotes.xsl +++ b/data/dblatex-endnotes.xsl @@ -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} diff --git a/freeculture.xml b/freeculture.xml index 088bfee..a31f284 100644 --- a/freeculture.xml +++ b/freeculture.xml @@ -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. - - +