This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Felipe Vieira Silva wrote:
> I´m creating a tutorial and I want to include console snapshots in my
> text. I don´t 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´m 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]