File: xorg-chunk.xsl

package info (click to toggle)
xorg-sgml-doctools 1:1.11-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 760 kB
  • sloc: sh: 3,481; xml: 406; makefile: 38
file content (68 lines) | stat: -rw-r--r-- 2,287 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY xorgcss SYSTEM "xorg.css">
]>
<!--
			X.Org DocBook/XML customization

	DocBook XSL Stylesheets HTML Parameters
	http://docbook.sourceforge.net/release/xsl/current/doc/html/
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>

<!-- Embedding CSS styles http://www.sagehill.net/docbookxsl/HtmlHead.html#EmbedCSS -->
<xsl:template name="user.head.content">
<style type="text/css">
<xsl:text disable-output-escaping="yes">&xorgcss;</xsl:text>
</style>
</xsl:template>

			<!-- Reference Pages HTML/FO Parameters -->

  <!-- The formatting of a function element will include generated parentheses -->
  <xsl:param name="function.parens" select="1"/>

  <!-- ANSI-style function synopses are generated for a funcsynopsis element -->
  <xsl:param name="funcsynopsis.style" select="ansi"/>

			<!-- Miscellaneous HTML/FO Parameters-->

  <!-- SVG will be considered an acceptable image format -->
  <xsl:param name="use.svg" select="1"/>

			<!-- Pagination and General Styles HTML/FO Parameters -->
  <!--
     Speed up ps & pdf creation by not creating pages with "draft" image,
     thus not needing to wait for http fetch of draft.png from docbook website.
    -->
  <xsl:param name="draft.mode" select="no"/>

			<!-- ToC/LoT/Index Generation HTML Parameters -->

  <!-- Index links should point to indexterm location, not start of section -->
  <xsl:param name="index.links.to.section" select="0"/>

			<!-- HTML Parameters -->

  <!-- Uses XSLT Extension to provide more valid and better formatted elements-->
  <xsl:param name="html.cleanup" select="1"/>

			<!-- Chunking HTML Parameters -->

  <!-- Use ID value of chunk elements as the filename -->
  <xsl:param name="use.id.as.filename" select="1"></xsl:param>

  <!-- Chunk the first top-level section -->
  <xsl:param name="chunk.first.sections" select="1"></xsl:param>

			<!-- Meta/*Info and Titlepages HTML Parameters-->

  <!-- Suppress abstract on title pages -->
  <xsl:param name="abstract.notitle.enabled" select="1"/>

  <!-- Lists HTML Parameters-->
  <xsl:param name="variablelist.as.table" select="1"/>

</xsl:stylesheet>