]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - fixup-docbook.rb
Format acknowledgement and bibliography as unnumbered chapters
[text-madewithcc.git] / fixup-docbook.rb
index 329d59935e27d4fa403682f0578c2d2519e1590f..a0504965cb92f5b91a8e6059f2aebef8d2ddd662 100755 (executable)
@@ -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 <partintro>'
 s = xml.xpath("//part/title[text()='The Case Studies']")[0]