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


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
>


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