I put this in my my_pdf.xsl file ...
... and now the backgound for my text in my <screen> tags is a nice
yellow color.
But I can't seem to figure out how to do this for the "Table Of
Contents". Can you help?
Hi Sheldon,
The fo version of the DocBook XSL
stylesheets does not make use of CSS for formatting. The
html.stylesheet parameter is only used in HTML output.
Getting customized output for PDF
requires customizing the XSL. You can do a lot with parameters and
attribute sets, and only resort to customizing XSL templates if you have
to. My online book provides the details:
If you want to stick to CSS, you might
consider Prince 4.0, which uses CSS to create printed output from XML.
I've not used it, but it comes with a stylesheet for DocBook.
----- Original Message -----
Sent: Tuesday, January 11, 2005 3:52
PM
Subject: [docbook-apps]is there an
pdf equiv. to html.stylesheet?
Hi,
When I generate my html from my docbook source I specifiy my xsl file
( my_html.xsl) that has a few common customization for making
<screen> tag and <title> tags look cool.
Now I am generating .fo ( and subsequently .pdf) files with java and
com.icl.saxon.StyleSheet and I have been specifying my xsl file (
my_pdf.xsl) ... both files have a line that reads:
<xsl:param name="html.stylesheet" select="'my.css'" />
My html gets all my cool customization but my pdf is still just plain
looking :/
What do I need to do to get .css like features into my .fo ( and pdf)
files?
I hope that make sense, Thanks
Sheldon
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn
more.