Cours DocBook accelere

6.7. Procédures

les listes procedure sont destinées à lister étape par étape des procédures comme vous pourriez le voir dans une recette de cuisine ou un HowTo Linux.

Exemple 6-7. Une liste procedure


<procedure>
<title>Waking Up</title>
<para>This is what you must do to awaken.</para>
<step performance="required">
<para>
Bring yourself to a hypnopompic state, either from an ongoing dream or by use of
your internal clock. You may feel unable to move, but you will no longer be
dreaming. </para>
<para>Now you are ready for real-world readjustment.</para>
<substeps>
<step performance="optional">
<para>Roll over.</para>
</step>
<step performance="required">
<para>Squint out of one eye.</para>
</step>
</substeps>
</step>
<step performance="required">
<para>Yawn and rise from your bed.
</para>
</step>
</procedure> 

L'exemple, une fois converti, ressemble à ça :

Waking Up

This is what you must do to awaken.

  1. Bring yourself to a hypnopompic state, either from an ongoing dream or by use of your internal clock. You may feel unable to move, but you will no longer be dreaming.

    Now you are ready for real-world readjustment.

    1. Roll over.

    2. Squint out of one eye.

  2. Yawn and rise from your bed.