This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] A simple HowTo for customizing the pdf-output of an DocBook xml
- From: Bob Stayton <bobs at sco dot com>
- To: "jochen . gerstl @ de . abb . com" <jochen dot gerstl at de dot abb dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 27 Aug 2003 09:27:29 -0700
- Subject: Re: [docbook-apps] A simple HowTo for customizing the pdf-output of an DocBook xml
I copied your stylesheet to a file and was able to successfully use it
to produce PDF, and the logo is in the header. There were a couple
of problems:
1. There is a typo in the default namespace declaration
(you used http. rather than http:). You don't need an
xhtml default namespace for FO output anyway, so that line
can be removed. It did not prevent processing, though.
2. The logo appears in the header on only the first page
of each chapter. Is that what you intended? If not,
go through the sequence of xsl:when statements again.
Remember that the first one that matches each set of
conditions is used, and the rest are ignored. Most pages
are matching on the xsl:when statement just above the one
you use to insert your logo.
I used Xalan 2.5.1 and FOP 0.20.5 to process it. I wonder
what version of Xalan you are using. You may be using
the older bundled version in Java 1.4 unless you set up
a newer version using the Java "endorsed" mechanism. See
http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#InstallXalan
for information on using an updated Xalan.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.