Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 181 lines (142 sloc) 6.448 kB
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
1 <?xml version="1.0"?>
2 <!--
d6629c8 @platu Corrections feuilles de style et ajout Makefiles
authored
3
4 This is the XSL customization stylesheet file for the documents
5 published on the http://www.inetdoc.net website.
6
7 It took christian.bauer(at)bluemars.de days to figure out this stuff and
8 fix most of the obvious bugs in the DocBook XSL distribution, So as the
9 present work is based on his stylesheet, credit has to be given back to the
10 Hibernate project.
11
12 It also took me days to customize this stylesheet and I have to give some
13 credit back to all people who publish XSL customization samples.
14
15 platu(at)inetdoc.net
16
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
17 -->
18
19 <!DOCTYPE xsl:stylesheet [
d6629c8 @platu Corrections feuilles de style et ajout Makefiles
authored
20 <!-- The below path is defined by the docbook-xsl-ns Debian package -->
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
21 <!ENTITY db_xsl_path "/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/">
46edb10 @platu Table des matières pages XHTML + Book LARTC
authored
22 <!ENTITY callout_gfx_path "/images/">
23 <!ENTITY admon_gfx_path "/images/">
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
24 ]>
25
d6629c8 @platu Corrections feuilles de style et ajout Makefiles
authored
26 <xsl:stylesheet version="1.0"
27 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
28 xmlns="http://www.w3.org/TR/xhtml1/transitional"
29 exclude-result-prefixes="#default">
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
30
31 <xsl:import href="&db_xsl_path;/xhtml-1_1/chunk.xsl"/>
32
e19a79b @platu Test d'activation de la colorisation syntaxique
authored
33 <!-- highlight templates -->
34 <xsl:import href="&db_xsl_path;/xhtml-1_1/highlight.xsl"/>
35
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
36 <!--###################################################
37 Custom Settings
38 ################################################### -->
39
40 <xsl:param name="l10n.gentext.default.language" select="'fr'"/>
41
42 <xsl:output method="html"
43 encoding="utf-8"
44 indent="yes"/>
45
46 <xsl:param name="chunker.output.encoding" select="'utf-8'" />
47 <xsl:param name="chunker.output.indent" select="'yes'" />
48
49 <xsl:param name="generate.legalnotice.link" select="0" />
50
51 <xsl:param name="draft.mode" select="'no'" />
52
53 <xsl:param name="suppress.header.navigation" select="0" />
54
7be0ce8 @platu Publication documents projets étudiants sécurité
authored
55 <xsl:param name="table.borders.with.css" select="0" />
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
56 <xsl:param name="table.frame.border.style" select="'solid'" />
57 <xsl:param name="default.table.width" select="'100%'" />
58
59 <xsl:param name="qanda.inherit.numeration" select="0" />
60
61 <xsl:template match="collabname">
62 <xsl:apply-templates/>
63 </xsl:template>
64
65 <!--###################################################
66 HTML Settings
67 ################################################### -->
e19a79b @platu Test d'activation de la colorisation syntaxique
authored
68 <xsl:param name="highlight.source" select="1" />
69 <xsl:param name="highlight.default.language" />
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
70
71 <xsl:param name="use.id.as.filename" select="1" />
72 <xsl:param name="html.stylesheet">inetdoc.css</xsl:param>
73 <xsl:param name="css.decoration" select="1" />
74
75 <!-- These extensions are required for table printing and other stuff -->
76 <xsl:param name="use.extensions" select="1" />
77 <xsl:param name="tablecolumns.extension" select="0" />
78 <xsl:param name="callout.extensions" select ="1" />
79 <xsl:param name="graphicsize.extension" select="0" />
80
81 <!--###################################################
82 Table Of Contents
83 ################################################### -->
84
85 <!-- Generate the TOCs for named components only -->
86 <xsl:param name="generate.toc">
87 appendix toc,title
88 article/appendix nop
89 article toc,title
90 book toc,title,figure,table,example,equation
91 chapter nop
92 part nop
93 preface nop
94 bibliography toc
95 qandadiv toc
96 qandaset nop
97 reference toc,title
98 sect1 nop
99 sect2 nop
100 sect3 nop
101 sect4 nop
102 sect5 nop
103 section nop
104 set toc,title
105 </xsl:param>
106
107 <!-- Show only Sections up to level 3 in the TOCs -->
108 <xsl:param name="toc.section.depth" select="3" />
109 <xsl:param name="generate.section.toc.level" select="3" />
110
feeb5b8 @platu Ajout tutoriel sécurité et corrections lfo
authored
111 <!-- simplesects are used in bibliographic pages -->
112 <xsl:param name="simplesect.in.toc" select="1" />
113
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
114 <!--###################################################
115 Labels
116 ################################################### -->
117
118 <!-- Label Chapters and Sections (numbering) -->
119 <xsl:param name="chapter.autolabel" select ="1" />
120 <xsl:param name="section.autolabel" select="1" />
121 <xsl:param name="section.label.includes.component.label" select="1" />
122
123 <!--###################################################
124 Callouts
125 ################################################### -->
126
127 <!-- Use images for callouts instead of (1) (2) (3) -->
128 <xsl:param name="callout.graphics" select="1" />
129 <xsl:param name="callout.graphics.path">&callout_gfx_path;</xsl:param>
46edb10 @platu Table des matières pages XHTML + Book LARTC
authored
130 <xsl:param name="callout.graphics.number.limit" select="15" />
3ec9bd3 @platu Arborescence du site Web sans les documents.
authored
131
132 <!-- Place callout marks at this column in annotated areas -->
133 <xsl:param name="callout.defaultcolumn">90</xsl:param>
134
135 <!--###################################################
136 Admonitions
137 ################################################### -->
138
139 <!-- Use nice graphics for admonitions -->
140 <xsl:param name="admon.graphics" select="1" />
141 <xsl:param name="admon.graphics.path">&admon_gfx_path;</xsl:param>
142 <xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>
143 <xsl:param name="admon.style">
144 <xsl:text>margin-left: 0; margin-right: 3em;</xsl:text>
145 </xsl:param>
146
147 <!--###################################################
148 Misc
149 ################################################### -->
150
151 <!-- Placement of titles -->
152 <xsl:param name="formal.title.placement">
153 figure after
154 example before
155 equation before
156 table before
157 procedure before
158 </xsl:param>
159
160 <!-- Override formalpara title with a line break before para -->
161 <xsl:template match="formalpara/title|formalpara/info/title">
162 <xsl:variable name="titleStr">
163 <xsl:apply-templates/>
164 </xsl:variable>
165 <xsl:variable name="lastChar">
166 <xsl:if test="$titleStr != ''">
167 <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/>
168 </xsl:if>
169 </xsl:variable>
170
171 <b>
172 <xsl:copy-of select="$titleStr"/>
173 <xsl:if test="$lastChar != ''
174 and not(contains($runinhead.title.end.punct, $lastChar))">
175 <xsl:value-of select="$runinhead.default.title.end.punct"/>
176 </xsl:if>
177 </b><br/>
178 </xsl:template>
179
180 </xsl:stylesheet>
Something went wrong with that request. Please try again.