aboutsummaryrefslogtreecommitdiffstats
path: root/docs/stylesheets/docbook-xhtml-drakx.xsl
blob: 55804c23f6e93b2a99184f7caf20af7227308129 (plain)
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
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/transitional" exclude-result-prefixes="#default" version="1.0">
<?cco_xsltype addon="DocBook5.0" toolchain="DocBook_Screen_Chunk"?>

  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/profile-chunk.xsl"></xsl:import>
  <xsl:import href="docbook-xhtml-common.xsl"></xsl:import>

<!-- This stylesheet is used to generate the html files for
          drakx-installer-help, the inline help for drakx-installer-stage2 -->


<!-- Add variable and custom template definitions in "docbook-xhtml.xsl" -->

<xsl:param select="'1'" name="using.chunker"></xsl:param>
<xsl:param name="base.dir">master.html/</xsl:param>
<xsl:param select="'1'" name="use.id.as.filename"></xsl:param>
<xsl:param select="'.html'" name="html.ext"></xsl:param>
<xsl:param select="'1'" name="chunk.quietly"></xsl:param>


<xsl:param select="'.chunks'" name="chunk.datafile"></xsl:param>
<xsl:param select="'1'" name="chunk.first.sections"></xsl:param>
<xsl:param select="'1'" name="chunk.section.depth"></xsl:param>
<xsl:param select="'UTF-8'" name="chunker.output.encoding"></xsl:param>
<xsl:param select="'yes'" name="chunker.output.indent"></xsl:param>
<xsl:param select="''" name="chunk.toc"></xsl:param>

<xsl:param name="css.decoration">0</xsl:param>
<xsl:param select="''" name="html.stylesheet"></xsl:param>


<xsl:param select="0" name="section.autolabel"></xsl:param>

<!-- Do not give the name of the icon -->
<xsl:param select="0" name="admon.textlabel"></xsl:param>


<!-- DO not output screenshots for inline help -->
<xsl:template match="figure"></xsl:template>
<xsl:template match="mediaobject"></xsl:template>

<!--Do not output othercredit name + e-mail address in each file -->
<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"></xsl:template> 

<!-- nor header / footer -->
<xsl:param select="'1'" name="suppress.navigation"></xsl:param>

<!-- Add Simple CSS -->

<xsl:template name="user.head.content">
  <style type="text/css">
    <xsl:comment>
      body { font-family: sans-serif; font-size: 13px }
      table { font-family: sans-serif; font-size: 13px }
    </xsl:comment>
  </style>
</xsl:template>

</xsl:stylesheet>