docbook.css.link.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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="docbook.css.link">
  7. <refmeta>
  8. <refentrytitle>docbook.css.link</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>docbook.css.link</refname>
  13. <refpurpose>Insert a link referencing the default CSS stylesheet</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="docbook.css.link.frag">
  17. <xsl:param name="docbook.css.link" select="1"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>The stylesheets are capable of generating a default
  22. CSS stylesheet file. The parameters
  23. <parameter>make.clean.html</parameter> and
  24. <parameter>docbook.css.source</parameter> control that feature.</para>
  25. <para>Normally if a default CSS file is generated, then
  26. the stylesheet inserts a <tag>link</tag> tag in the HTML
  27. <tag>HEAD</tag> element to reference it.
  28. However, you can omit that <tag>link</tag> reference if
  29. you set the <parameter>docbook.css.link</parameter> to zero
  30. (1 is the default).</para>
  31. <para>This parameter is useful when you want to import the
  32. default CSS into a custom CSS file generated using the
  33. <parameter>custom.css.source</parameter> parameter.
  34. </para>
  35. </refsection>
  36. </refentry>