This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: DOCBOOK: CSS + Beginner Style Question


[Follow-ups on docbook-apps please]

No need to manually edit the output. You just need to set a few
parameters in a customization layer for the xsls. For information on
creating a customization layer, see: doc/ch01s04.html in the
distribution of the xsl stylesheets. The specific parameters you're
interested in are:
http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesh
eet.html
http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesh
eet.type.html

You can find lots of related information:
http://www.dpawson.co.uk/docbook/styling/styling.html

For question #5 (and much else), see:
http://docbook.org/tdg/en/html/ch04.html

David

> -----Original Message-----
> From: David Molloy [mailto:molloyda@eeng.dcu.ie]
> Sent: Monday, March 25, 2002 5:34 AM
> To: docbook@lists.oasis-open.org
> Subject: DOCBOOK: CSS + Beginner Style Question
> 
> 
> Hi,
>    I wonder if anyone could take the few minutes to explain some
> style questions to a beginner at docbook:
> 
> I'm currently using docbook with Fop and Xalan and can get both
> html document and pdf documents generating up (which I'll do on
> the server side using servlets soon).  However, while happy with
> the pdf format I'd like to make style changes to the html. 
> 
> Normally I'd use a CSS file for this formatting and have been trying
> to work out how to use one with my html files.  It would not be
> enough to manually edit the file and add in the <LINK REL etc.
> information as pages will be created dynamically.  So:
> 
> 1) Is there a way of adding a reference to a css file in the XML
>    file?
> 2) If so, how do you do it?
> 3) Does it need to be done in docbook.xsl ?
> 4) Do this get ignored for the Fop/PDF version?
> 5) Is there a main reason that people seem to use DSSL instead of
>    CSS files?
> 6) Am I going about it incorrectly?  What should I be doing to get
>    styleized html files?
> 
> Thanks in advance for any responses!
> 
> Kind regards,
> Dave
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]