Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DOC-Group
 DOC Discussion
 Explained: What is Docbook ? (part 3)
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gor
Retired Admin

Netherlands
5511 Posts

Posted - 02 February 2002 :  18:25:05  Show Profile  Visit gor's Homepage
Part 3: Some basic tags

Emphasis

<emphasis></emphasis>

Used where you usually would use italics or bold.

Ordered list

<para>
<itemizedlist>
<listitem><para>ASPMail</para></listitem>
<listitem><para>ASPEMail</para></listitem>
<listitem><para>ASPQMail</para></listitem>
<listitem><para>CDONTS</para></listitem>
<listitem><para>Chili!Mail</para></listitem>
<listitem><para>GeoCel</para></listitem>
<listitem><para>IISMail</para></listitem>
<listitem><para>JMail</para></listitem>
<listitem><para>SMTP</para></listitem>
</itemizedlist>
</para>

This is an ordered list. You need to use the <para> tags here!

Images
Is no really basic tag in Docbook because of the conversion.
I'll explain about images later. For now we'll do without them.
The tag looks like this:

<para>
<mediaobject>
<imageobject><imagedata fileref="images/WinCVS1.png" format="PNG"/>
</imageobject>
<caption>
<para>WinCVS</para>
</caption>
</mediaobject>
</para>


Hyperlink

<ulink url="http://www.wincvs.org/download.html">WinCVS</ulink>

Works the same as the HREF tag in HTML.

Note

<para>
<note>
<para>You can't create the .ssh folder from within Windows, you need to do it from the command promgt. The keyset gets stored in this folder.
</para>
</note>
</para>

Adds a "note" to the text.

Codeblocks and commandlines

<command>ssh-keygen -C sf2k.sourceforge.net</command>

Use the command tag for codeblocks and commandlines so they keep their formatting.

Screenoutput

<screen>
C:\ssh>md .ssh
C:\ssh>ssh-keygen -C sf2k.sourceforge.net
Initializing random number generator...
Generating p: ...............................++ (distance 698)
Generating q: ............++ (distance 188)
Computing the keys...
Testing the keys...
Key generation complete.
Enter file in which to save the key ($HOME/.ssh/identity):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in c:\SSH/.ssh/identity.
Your public key is: 102433677831289340244745550388170335659674969791021549506223689907201003558365
68521100878488679990267204264274988350400643854310295129892779398155471827652141
62591487460218665918868192222993293889477338393645885656196801995332971995232956
7286827545497770470796469575894213883916103515692590367902068410229388065241
sf2k.sourceforge.net
Your public key has been saved in c:\SSH/.ssh/identity.pub
C:\ssh>
</screen>

Used to tag textoutput on the screen.


Pierre
Join a Snitz Mailinglist<

gor
Retired Admin

Netherlands
5511 Posts

Posted - 02 February 2002 :  18:27:26  Show Profile  Visit gor's Homepage
Part 1 explained basics about the docbook DTD, XSL stylesheets and parsing of a Docbook file.

Part 2 explains the structure of a Docbook file

Pierre
Join a Snitz Mailinglist<
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07