Here, we will see how to write and process documentation, using the DebianDoc DTD.
Here is a sample DebianDoc document:
<!doctype debiandoc public "-//DebianDoc//DTD DebianDoc//EN">
<debiandoc>
<book>
<titlepag>
<title>FooBar</title>
<author>
<name>Bortzmeyer</name>
<email>[email protected]</email>
</author>
</titlepag>
<chapt>
<heading>Title</heading>
<p>Content</p>
</chapt>
</book>
</debiandoc>
To know the list of legal tags, see
To translate to PostScript:
debiandoc2ps -1 myfile.dd
And to HTML:
debiandoc2html myfile.dd