--- a/ref_mp.xmlf
+++ b/ref_mp.xmlf
@@ -3,7 +3,10 @@
 <!ENTITY % eclent SYSTEM "ecl.ent">
 %eclent;
 ]>
-<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en"><reference xml:id="mp.dict"><title>Multithreading Reference</title>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
+<chapter>
+<title>Multithreading</title>
+<section xml:id="ext.mp.dict"><title>Multithreading Reference</title>
 
 <!-- ====================================================================== -->
 <!-- MP:ALL-PROCESSES                                                       -->
@@ -637,8 +640,9 @@
 </programlisting>
  </refsect1>
 </refentry>
-
-</reference></book>
+</section>
+</chapter>
+</book>
 <!-- Keep this comment at the end of the file
       Local variables:
       mode: nxml