From: Gunnar Wolf Date: Fri, 30 Aug 2019 22:03:59 +0000 (-0500) Subject: Format acknowledgement and bibliography as unnumbered chapters X-Git-Tag: es-printed~33 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/690a39139fd35bfe12849a7241be3de300c6d8f5?ds=sidebyside Format acknowledgement and bibliography as unnumbered chapters --- 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]