Hi Bob, I don't see the advantage of using a XML document for my CSS file and having the the XSLT stylesheets copying it. I see the following issues:
1.) Standard CSS editors cannot edit the file 2.) Duplicate the content of the CSS file 3.) Usage of a a non-standard format for my CSS file. 4.) Re-use difficult. As I re-used the same CSS file for non DocBook based articles I would have to maintain 2 version of the file. Would it be possible to use a standard css file? I generate the articles for my webpage from Docbook and all articles are pointing to a central CSS file. The "html.stylesheet" parameter was great for that. Best regards, Lars 2011/9/20 Bob Stayton <[email protected]> > ** > Hi Lars, > Ah, I should have mentioned in the README about the changes for CSS. > > The 1.76.1 stylesheets added the capability of making cleaner HTML and > generating one or two CSS files when chunking. That avoids the need for > copying the CSS file into place after building the HTML. Because HTML5 > pretty much needs the clean HTML and CSS, I turned on that feature for the > xhtml5 stylesheets. See these three params for a description of how to make > cleaner HTML with CSS for styling: > > > http://docbook.sourceforge.net/release/xsl/current/doc/html/make.clean.html.html > > > http://docbook.sourceforge.net/release/xsl/current/doc/html/docbook.css.source.html > > > http://docbook.sourceforge.net/release/xsl/current/doc/html/custom.css.source.html > > I'll put this in the next README > > Bob Stayton > Sagehill Enterprises > [email protected] > > > > ----- Original Message ----- > *From:* Lars Vogel <[email protected]> > *To:* DocBook Apps <[email protected]> > *Sent:* Monday, September 19, 2011 2:59 PM > *Subject:* [docbook-apps] "html.stylesheet" parameter in the xhtml5 > Stylesheets > > Hi, > > the "html.stylesheet" parameter seem not to be working xhtml5. From the > output: > > [xslt] Writing docbook.css for article > > The output file also contains a reference to docbook.css. If I replace the > xhtml5 with the html stylesheets the correct css file is used in the > resulting html file. > > Is there anything I'm doing wrong? > > Best regards, Lars > > -- > Lars > http://www.vogella.de - Eclipse, Android and Java Tutorials > http://www.twitter.com/vogella - Lars on Twitter > > -- Lars http://www.vogella.de - Eclipse, Android and Java Tutorials http://www.twitter.com/vogella - Lars on Twitter
