In this section you'll find what you'll need for a minimalistic linuxdoc dtd conform document. It's intended to give a first touch.
Skip it, if you allredy now the principles.
The steps you have to do to create a nice linuxdoc document and map it to the form you need are:
start.sgml
.sgmlcheck start.sgml
.The error messages of sgmlcheck
will give you a hint about the type of error and also line and collumn where
it occured.
. Goto the previous step again until no more errors
occur.sgml2html start.sgml
sgml2lyx start.sgml
sgml2info start.sgml
sgml2latex start.sgml
sgml2rtf start.sgml
sgml2txt start.sgml
We start with a simple document (the numbers and colon in the begining of the line are for explanation, don't type it!):
1: <!doctype linuxdoc system> 2: <notes> 3: <title>A Small Linuxdoc Example</title> 4: <p>Hello <em>world</em>.</p> 5: <p><bf>Here</bf> we are.</p> 6: </notes>
Now we walk through the single lines:
<notes>
tag forming a note, wich is
not allowing (and therefore also not asking for) chaptering and sectioning.
<title>
tag.
<p>
tag, containing the word world
wich is inline emphasized by the <em>
tag.
<bf>
tag.
The same example may be writtten a little bit shorter, by leaving out tags, wich are placed implicitely, and by using shortened tags:
1: <!doctype linuxdoc system> 2: <notes> 3: <title>A Small Linuxdoc Example 4: <p>Hello <em/world/. 5: 6: <bf/Here/ we are. 7: </notes>
Now we walk through the single lines again:
p
tag in the next line is
implicitely closing it.
/
. The paragraph is not explicitly
closed in this line.
</p><p>
.
Maybe now it's a little bit more clear, who you have to work with tags.