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 anDocBook xml
- From: jochen dot gerstl at de dot abb dot com
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 28 Aug 2003 11:16:06 +0200
- Subject: Re: [docbook-apps] A simple HowTo for customizing the pdf-output of anDocBook xml
Hello Bob,
thanks a lot for your help.
When you sayed the style sheet ist working I tried that whith the endorsed
mechanism an have now the following environment:
The call was: C:\Inetpub\wwwroot\AP_Allgemein\Stammdaten\G_XML\PDF>java
-Djava.endorsed.dirs=C:\XSLT_Progs\xalan-j_2_5_1\bin
org.apache.xalan.xslt.EnvironmentCheck
The result is:
#---- BEGIN writeEnvironmentReport($Revision: 1.20 $): Useful stuff found:
----
version.DOM.draftlevel=2.0fd
java.class.path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar;C:\DocBook\docbook-xsl-1.61.3
\
extensions\xalan2.jar;.;
version.JAXP=1.1 or higher
java.ext.dirs=C:\Programme\Java\j2re1.4.2\lib\ext
#---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path
----
xalan.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar
xalansamples.jar-apparent.version=xalansamples.jar present-unknown-version
xalansamples.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalansamples.jar
xercesImpl.jar-apparent.version=xercesImpl.jar from xalan-j_2_5_0 from
xerces-2_4
xercesImpl.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar
xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version
xml-apis.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar
#----- END Listing XML-related jars in: foundclasses.sun.boot.class.path
-----
version.xerces2=Xerces-J 2.4.0
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.5.1
version.xalan1=not-present
version.ant=not-present
java.version=1.4.2
version.DOM=2.0
version.crimson=present-unknown-version
sun.boot.class.path=C:\XSLT_Progs\xalan-j_2_5_1\bin\bsf.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xalansamples.jar;C:\XSLT_Progs\xalan-j_2_5_1\b
in\xercesImpl.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcapplet.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcbrazil.jar;C:\XSLT_Progs\xalan-j
_2_5_1\bin\xsltcejb.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcservlet.jar;C:\Programme\Java\j2re1.4.2
\lib\rt.jar;C:\Programme\Java\j2re1.4.2
\lib\i18n.jar;C:\Programme\Java\j2re1.4.2
\lib\sunrsasign.jar;C:\Programme\Java\j2re1.4.2
\lib\jsse.jar;C:\Programme\Java\j2re1.4.2
\lib\jce.jar;C:\Programme\Java\j2re1.4.2
\lib\charsets.jar;C:\Programme\Java\j2re1.4.2\classe
s
#---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ----
xalan.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar
xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version
xml-apis.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar
xercesImpl.jar-apparent.version=xercesImpl.jar from xalan-j_2_5_0 from
xerces-2_4
xercesImpl.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar
#----- END Listing XML-related jars in: foundclasses.java.class.path -----
version.SAX=2.0
version.xalan2x=Xalan Java 2.5.1
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.
But I still have now LOGO in my PDF.
So I asked some java experts what could it be ?
They told me: rename your image to to the same with small letters
I tried this and nothing.
But by the way, I tried to use the note.png and sudently I got a picture in
the header of my pdf :-))))
So I tried the note.gif as well, and I got as well a picture in the pdf.
So I compared the note.gif with my abblogo.gif and I noticed, that my logo
ist 29 pixels hight the note.gif only 24. So I resized my Logo to 24 pixel
and its displayed now in the resulting pdf.
That's superb.
But by the way where can I find the maximum allowed size for a picture in
the header ?
I supose it has to do with the pagemaster.
The logo is displayed just on top of the line, how can I move it a little
bit higher ?
Thank's a lot so far
Jochen
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.