1 <refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="generate.css.header">
8 <refentrytitle>generate.css.header</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
12 <refname>generate.css.header</refname>
13 <refpurpose>Insert generated CSS styles in HEAD element</refpurpose>
17 <src:fragment xml:id="generate.css.header.frag">
18 <xsl:param name="generate.css.header" select="0"/>
22 <refsection><info><title>Description</title></info>
24 <para>The stylesheets are capable of generating both default
25 and custom CSS stylesheet files. The parameters
26 <parameter>make.clean.html</parameter>,
27 <parameter>docbook.css.source</parameter>, and
28 <parameter>custom.css.source</parameter> control that feature.</para>
30 <para>If you require that CSS styles reside in the HTML
31 <tag>HEAD</tag> element instead of external CSS files,
32 then set the <parameter>generate.css.header</parameter>
33 parameter to nonzero (it is zero by default).
34 Then instead of generating the CSS in external files,
35 they are wrapped in <tag>style</tag> elements in
36 the <tag>HEAD</tag> element of each HTML output file.