From 2f2cbc96ddd6a18daaaed43d2893b0dec4f60a5f Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 21 Jul 2015 19:33:29 +0000 Subject: [PATCH] Move chapter hack from docbook source to xsl file. --- data/dblatex-endnotes.xsl | 4 ++++ freeculture.xml | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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. - - + -- 2.47.2