From 690a39139fd35bfe12849a7241be3de300c6d8f5 Mon Sep 17 00:00:00 2001 From: Gunnar Wolf Date: Fri, 30 Aug 2019 17:03:59 -0500 Subject: [PATCH] Format acknowledgement and bibliography as unnumbered chapters --- extra/pdf.xsl | 19 +++++++++++++++++++ fixup-docbook.rb | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/extra/pdf.xsl b/extra/pdf.xsl index dad297e..f1029d6 100644 --- a/extra/pdf.xsl +++ b/extra/pdf.xsl @@ -52,6 +52,25 @@ extended distribution with LuLu. } + + + + + + + + + \chapter*{ + + } + \addcontentsline{toc}{chapter}{ + + } + + + diff --git a/fixup-docbook.rb b/fixup-docbook.rb index 329d599..a050496 100755 --- a/fixup-docbook.rb +++ b/fixup-docbook.rb @@ -53,8 +53,8 @@ partreplace(xml, 'colophon', 'colophon') partreplace(xml, 'dedication', 'dedication') partreplace(xml, 'foreword', 'preface') partreplace(xml, 'introduction', 'preface') -partreplace(xml, 'bibliography', 'chapter') -partreplace(xml, 'acknowledgments', 'chapter') +partreplace(xml, 'bibliography', 'appendix') +partreplace(xml, 'acknowledgments', 'appendix') log 0, 'place part introduction into ' s = xml.xpath("//part/title[text()='The Case Studies']")[0] -- 2.47.2