Switching to DocBook 4.2, to match markup

The markup in this document made plenty of references to elements that
post-date the DocBook 3.0 specification (e.g. <mediaobject/>).

Fortunately, with one or two minor corrections to the nesting of elements, the
newer revision of DocBook can validate the document.
This commit is contained in:
Martin A. Brown 2016-01-27 20:59:34 -08:00
parent fbedac7019
commit 08ac878b71
1 changed files with 14 additions and 27 deletions

View File

@ -1,10 +1,10 @@
<!DOCTYPE Article PUBLIC "-//Davenport//DTD DocBook V3.0//EN"> <!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V4.2//EN">
<Article id="index"> <Article id="index">
<!-- Article Header --> <!-- Article Header -->
<ArtHeader> <articleinfo>
<Title> <Title>
C editing with VIM HOWTO C editing with VIM HOWTO
@ -86,7 +86,7 @@
</abstract> </abstract>
</ArtHeader> </articleinfo>
<!-- Section 1: Introduction --> <!-- Section 1: Introduction -->
@ -147,21 +147,20 @@
<imageobject> <imageobject>
<imagedata fileref="moving1.png" format="png"> <imagedata fileref="moving1.png" format="png">
</imagedata>
</imageobject> </imageobject>
<textobject>
<ProgramListing>
...
if(( NULL == x ) &amp;&amp; y &gt; z )
...
</ProgramListing>
</textobject>
</mediaobject> </mediaobject>
<textobject>
<ProgramListing>
...
if(( NULL == x ) &amp;&amp; y &gt; z )
...
</ProgramListing>
</textobject>
</figure> </figure>
@ -221,7 +220,6 @@
<imageobject> <imageobject>
<imagedata fileref="moving2.png" format="png"> <imagedata fileref="moving2.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -273,11 +271,10 @@
<imageobject> <imageobject>
<imagedata fileref="moving3.png" format="png"> <imagedata fileref="moving3.png" format="png">
</imagedata>
</imageobject> </imageobject>
<textdata> <textobject>
<programlisting> <programlisting>
void function1() void function1()
@ -299,7 +296,7 @@
} }
</programlisting> </programlisting>
</textdata> </textobject>
</mediaobject> </mediaobject>
@ -333,7 +330,6 @@
<imageobject> <imageobject>
<imagedata fileref="moving4.png" format="png"> <imagedata fileref="moving4.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -462,7 +458,6 @@
<imageobject> <imageobject>
<imagedata fileref="moving5.png" format="png"> <imagedata fileref="moving5.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -533,7 +528,6 @@
<imageobject> <imageobject>
<imagedata fileref="tags.png" format="png"> <imagedata fileref="tags.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -650,7 +644,6 @@
<imageobject> <imageobject>
<imagedata fileref="marks.png" format="png"> <imagedata fileref="marks.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -740,7 +733,6 @@
<imageobject> <imageobject>
<imagedata fileref="gd.png" format="png"> <imagedata fileref="gd.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -814,7 +806,6 @@
<imageobject> <imageobject>
<imagedata fileref="auto.png" format="png"> <imagedata fileref="auto.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -915,7 +906,6 @@
<imageobject> <imageobject>
<imagedata fileref="dict.png" format="png"> <imagedata fileref="dict.png" format="png">
</imagedata>
</imageobject> </imageobject>
@ -1260,7 +1250,6 @@
<imageobject> <imageobject>
<imagedata fileref="quickfix_prog.png" format="png"> <imagedata fileref="quickfix_prog.png" format="png">
</imagedata>
</imageobject> </imageobject>
<textobject> <textobject>
@ -1305,7 +1294,6 @@
<imageobject> <imageobject>
<imagedata fileref="make_error.png" format="png"> <imagedata fileref="make_error.png" format="png">
</imagedata>
</imageobject> </imageobject>
<textobject> <textobject>
@ -1358,7 +1346,6 @@
<imageobject> <imageobject>
<imagedata fileref="make_no_error.png" format="png"> <imagedata fileref="make_no_error.png" format="png">
</imagedata>
</imageobject> </imageobject>