mirror of https://github.com/tLDP/LDP
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:
parent
fbedac7019
commit
08ac878b71
|
@ -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 Header -->
|
||||
|
||||
<ArtHeader>
|
||||
<articleinfo>
|
||||
|
||||
<Title>
|
||||
C editing with VIM HOWTO
|
||||
|
@ -86,7 +86,7 @@
|
|||
|
||||
</abstract>
|
||||
|
||||
</ArtHeader>
|
||||
</articleinfo>
|
||||
|
||||
<!-- Section 1: Introduction -->
|
||||
|
||||
|
@ -147,21 +147,20 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="moving1.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
<textobject>
|
||||
|
||||
<ProgramListing>
|
||||
...
|
||||
if(( NULL == x ) && y > z )
|
||||
...
|
||||
</ProgramListing>
|
||||
|
||||
</textobject>
|
||||
</mediaobject>
|
||||
|
||||
<textobject>
|
||||
|
||||
<ProgramListing>
|
||||
...
|
||||
if(( NULL == x ) && y > z )
|
||||
...
|
||||
</ProgramListing>
|
||||
|
||||
</textobject>
|
||||
|
||||
</figure>
|
||||
|
||||
|
@ -221,7 +220,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="moving2.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -273,11 +271,10 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="moving3.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
<textdata>
|
||||
<textobject>
|
||||
|
||||
<programlisting>
|
||||
void function1()
|
||||
|
@ -299,7 +296,7 @@
|
|||
}
|
||||
</programlisting>
|
||||
|
||||
</textdata>
|
||||
</textobject>
|
||||
|
||||
</mediaobject>
|
||||
|
||||
|
@ -333,7 +330,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="moving4.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -462,7 +458,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="moving5.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -533,7 +528,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="tags.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -650,7 +644,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="marks.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -740,7 +733,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="gd.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -814,7 +806,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="auto.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -915,7 +906,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="dict.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
@ -1260,7 +1250,6 @@
|
|||
|
||||
<imageobject>
|
||||
<imagedata fileref="quickfix_prog.png" format="png">
|
||||
</imagedata>
|
||||
</imageobject>
|
||||
|
||||
<textobject>
|
||||
|
@ -1305,7 +1294,6 @@
|
|||
|
||||
<imageobject>
|
||||
<imagedata fileref="make_error.png" format="png">
|
||||
</imagedata>
|
||||
</imageobject>
|
||||
|
||||
<textobject>
|
||||
|
@ -1358,7 +1346,6 @@
|
|||
<imageobject>
|
||||
|
||||
<imagedata fileref="make_no_error.png" format="png">
|
||||
</imagedata>
|
||||
|
||||
</imageobject>
|
||||
|
||||
|
|
Loading…
Reference in New Issue