]> git.stg.codes - stg.git/blob - doc/xslt/params/generate.css.header.xml
Allowed to build on Darwin.
[stg.git] / doc / xslt / params / generate.css.header.xml
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">
7 <refmeta>
8 <refentrytitle>generate.css.header</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>generate.css.header</refname>
13 <refpurpose>Insert generated CSS styles in HEAD element</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="generate.css.header.frag">
18 <xsl:param name="generate.css.header" select="0"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
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>
29
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.
37 </para>
38
39 </refsection>
40 </refentry>