[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps]is there an pdf equiv. to html.stylesheet?
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.Bob Stayton
email@example.com----- Original Message -----From: Sheldon PlanktonSent: Tuesday, January 11, 2005 3:52 PMSubject: [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, ThanksSheldon
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.