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] Getting started with docbook, <screen> tag problems.


You'd have to build a customization layer to get the gray background. If you
search the list archives it should give you some ideas.

----- Original Message ----- 
From: "davidc" <davidc@hotpop.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, October 18, 2003 06:10
Subject: [docbook-apps] Getting started with docbook, <screen> tag problems.

> Hi,
> I'm just getting started with docbook and I'm running across a few
> I've been reading an excellent tutorial here:
> http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro/docbook-intro.html.
> My main problem is with the <screen> and <programlisting> tags, the
> leads me to believe if I use them the HTML output should have some sort of
> grey background, which is what I'd ideally like.  When I make my html
> from my sgml source I don't see this however.  I'm also using the <prompt>
> and <userinput> tags, the latter of which doesn't seem to bold the text.
> If I look at the source for that actual document though it uses them and
> output on the URL above shows this working fine (along with grey
> on relevant bits).  If I try to recreate the html file for docbook-intro
> from the source provided I get a fixed width font but no background on the
> <programlisting> sections.
> I've tried a few different ways now.  The first is simply using:
> $ db2html myfile.sgml
> Which runs jade fine and gives me the output I desire, less the
> I also tried downloading the dsl stylesheets manually from sourceforge,
> expanding them to a directory and running:
> $ openjade -t sgml -d /path/to/stylesheets/html/docbook.dsl myfile.sgml
> Again, the output isn't what I'd expect with regards to the
> style aspects.  I'm guessing this is some sort of stylesheet error,
> on my behalf!
> For my second question, I'd like to know how I can force jade/openjade to
> use "nice" filenames when producing HTML output.  At present it calls the
> chapters "cXX.html", where XX appears to be a random number.  Each of my
> <chapter> tags has an id with a unique name in.
> I've included one of the chapters and the top parts of my sgml file for
> to see.  I've adapted the source from the docbook-intro file to create my
> own book.
> Thank you,
> David
> <!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
> ]>
> <book>
>   <bookinfo>
>     <date>16/10/2003</date>
>     <title>Networking UML using bridging</title>
>     <subtitle>A quick howto</subtitle>
>     <authorgroup>
>       <author>
>         <firstname>-davidc</firstname>
>       </author>
>     </authorgroup>
>   </bookinfo>
>   <toc></toc>
>   <chapter id="host-kernel">
>     <title>The host kernel</title>
>     <para>Blah blah blah.</para>
>     <screen><prompt>#</prompt> <userinput>make
> menuconfig</userinput></screen>
>   </chapter>
> </book>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit

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