X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/e66e1df9f60d407ed5f3b95a0f303f0fed32fee0..68ccb07650b719473f8d17db0f5ad067966be93e:/fixup-docbook.rb?ds=inline diff --git a/fixup-docbook.rb b/fixup-docbook.rb index e26abe5..771df4b 100755 --- a/fixup-docbook.rb +++ b/fixup-docbook.rb @@ -51,8 +51,8 @@ end log 0, 'change parts to colophon, dedication and chapter' partreplace(xml, 'colophon', 'colophon') partreplace(xml, 'dedication', 'dedication') -partreplace(xml, 'foreword', 'chapter') -partreplace(xml, 'introduction', 'chapter') +partreplace(xml, 'foreword', 'preface') +partreplace(xml, 'introduction', 'preface') partreplace(xml, 'bibliography', 'chapter') partreplace(xml, 'acknowledgments', 'chapter')