Re: [docbook-apps] best way to represent console text

From
Eavid Dannings
Date
2004-11-24T23:24:32+00:00
ID
Thread
Re: [docbook-apps] best way to represent console text
Felipe Vieira Silva wrote:
> I惴 creating a tutorial and I want to include console snapshots in my
> text. I don愒 want to create an image for every console message I will
> include into the tutorial. I prefer to copy the console message to my
> docbook source.
> 
> How is the best way to enhance these console messages ?

I use the following, it is not indented as that causes trouble with the
parsing.

<screen>
<prompt>#</prompt> <userinput>ifconfig uml-bridge down</userinput>
</screen>

> I惴 also want to show programing languages commands enhanced into the
> text. How to ?

<programlisting> is the tag you want there.  You can see the source of
my book at http://edeca.net/articles.xml, that might help you.

David