OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]