This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] best way to represent console text
- From: Felipe Vieira Silva <fgaucho at gmail dot com>
- To: David Cannings <lists at edeca dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 26 Nov 2004 10:25:24 -0200
- Subject: Re: [docbook-apps] best way to represent console text
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ZlByEXEtbPxt5QXa5nHnAGhucSnoXhOBQa6LEiB1WSeLxnlwkWe6iXYCjsceY6OIv6pgMUYPdRiPq5/l7sUhjJmMYZV0/yo5i8eiUM/Zb0xdtP5j3pYnJJRHeEFKwILpEsz1cOG+/xPqwmenck+dupIXA8Yn/MEl+8Frpt5i3jU=
- References: <d11603860411241220784adc3a@mail.gmail.com> <41A5182A.9020302@edeca.net>
- Reply-to: Felipe Vieira Silva <fgaucho at gmail dot com>
Dear David,
some time ago I did all the strange configuration to produce PDF
through docbook sources. Now, I have a more confortable environment to
produce my documentation based on Maven and Ant tasks.
If you are interested in how to produce the docbook output documents
through just 1 line command, you can download my project in your
machine and test yourself :
0) Install Apache Maven: http://maven.apache.org/
1) Check out source code with a CVS client. For example:
cvs -d :pserver:guest@cvs.dev.java.net:/cvs login
followed by
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout schoolbus
2) go to the directory
"schoolbus\schoolbus-quaestio\docs\requirements" and then type "maven
docbooks". Done !
it will produce a folder titled "build" containning all rendered
documents in Htm and Pdf formats.
Thank you for your samples, I will learn a lot wih that files.
best regards,
Felipe Gaúcho
Schoolbus Owner
https://schoolbus.dev.java.net/
On Wed, 24 Nov 2004 23:24:26 +0000, David Cannings <lists@edeca.net> wrote:
> 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
>