]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - fixup-docbook.rb
Move foreword/introduction editing from LaTeX to DocBook XML step.
[text-madewithcc.git] / fixup-docbook.rb
index e26abe503279eedc9892cf02472f0766a0d3d8a5..771df4b8853c8f7022bbece5621eb350f9e12a3b 100755 (executable)
@@ -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')