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


David:

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.

Carlos
----- 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
problems.
> 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
document
> 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
files
> 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
the
> output on the URL above shows this working fine (along with grey
backgrounds
> 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
background.
>
> 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
afforementioned
> style aspects.  I'm guessing this is some sort of stylesheet error,
probably
> 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
all
> 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
http://www.oasis-open.org/mlmanage/.
>
>


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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