| [a9e389d] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?> | 
|---|
|  | 2 |  | 
|---|
|  | 3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | 
|---|
|  | 4 | xmlns="http://www.w3.org/1999/xhtml" | 
|---|
|  | 5 | version="1.0"> | 
|---|
|  | 6 |  | 
|---|
|  | 7 | <!-- We use XHTML --> | 
|---|
|  | 8 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/> | 
|---|
|  | 9 |  | 
|---|
|  | 10 | <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> | 
|---|
|  | 11 | <xsl:output method="html" encoding="ISO-8859-1" indent="no" /> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | <!-- Including our others customized templates --> | 
|---|
|  | 14 | <xsl:include href="xhtml/lfs-index.xsl"/> | 
|---|
|  | 15 | <xsl:include href="xhtml/lfs-mixed.xsl"/> | 
|---|
|  | 16 | <xsl:include href="xhtml/lfs-sections.xsl"/> | 
|---|
|  | 17 | <xsl:include href="xhtml/lfs-toc.xsl"/> | 
|---|
|  | 18 | <xsl:include href="xhtml/lfs-xref.xsl"/> | 
|---|
|  | 19 |  | 
|---|
|  | 20 | <!-- This file contains our localization strings (for internationalization) --> | 
|---|
|  | 21 | <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/> | 
|---|
|  | 22 |  | 
|---|
|  | 23 | <!-- Dropping some unwanted style attributes --> | 
|---|
|  | 24 | <xsl:param name="ulink.target" select="''"></xsl:param> | 
|---|
|  | 25 | <xsl:param name="css.decoration" select="0"></xsl:param> | 
|---|
|  | 26 |  | 
|---|
|  | 27 | <!-- Don't use graphics in admonitions --> | 
|---|
|  | 28 | <xsl:param name="admon.graphics" select="0"/> | 
|---|
|  | 29 |  | 
|---|
|  | 30 | <!-- Changing the admonitions output tagging --> | 
|---|
|  | 31 | <xsl:template name="nongraphical.admonition"> | 
|---|
|  | 32 | <div class="{name(.)}"> | 
|---|
|  | 33 | <div class ="admonhead"> | 
|---|
|  | 34 | <h3 class="admontitle"> | 
|---|
|  | 35 | <xsl:apply-templates select="." mode="object.title.markup"/> | 
|---|
|  | 36 | </h3> | 
|---|
|  | 37 | </div> | 
|---|
|  | 38 | <div class="admonbody"> | 
|---|
|  | 39 | <xsl:apply-templates/> | 
|---|
|  | 40 | </div> | 
|---|
|  | 41 | </div> | 
|---|
|  | 42 | </xsl:template> | 
|---|
|  | 43 |  | 
|---|
|  | 44 | <!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)--> | 
|---|
|  | 45 | <xsl:template name="sect2.titlepage"> | 
|---|
|  | 46 | <xsl:choose> | 
|---|
|  | 47 | <xsl:when test="string-length(title) = 0"/> | 
|---|
|  | 48 | <xsl:otherwise> | 
|---|
|  | 49 | <div class="titlepage"> | 
|---|
|  | 50 | <xsl:if test="@id"> | 
|---|
|  | 51 | <a id="{@id}" name="{@id}"/> | 
|---|
|  | 52 | </xsl:if> | 
|---|
|  | 53 | <h3 class="{name(.)}"> | 
|---|
|  | 54 | <xsl:apply-templates select="." mode="label.markup"/> | 
|---|
|  | 55 | <xsl:text>. </xsl:text> | 
|---|
|  | 56 | <xsl:value-of select="title"/> | 
|---|
|  | 57 | </h3> | 
|---|
|  | 58 | </div> | 
|---|
|  | 59 | </xsl:otherwise> | 
|---|
|  | 60 | </xsl:choose> | 
|---|
|  | 61 | </xsl:template> | 
|---|
|  | 62 |  | 
|---|
|  | 63 | <!-- Added the role param for proper punctuation in xref calls | 
|---|
|  | 64 | (from lfs-titles.xsl). --> | 
|---|
|  | 65 | <xsl:template match="*" mode="insert.title.markup"> | 
|---|
|  | 66 | <xsl:param name="purpose"/> | 
|---|
|  | 67 | <xsl:param name="xrefstyle"/> | 
|---|
|  | 68 | <xsl:param name="title"/> | 
|---|
|  | 69 | <xsl:param name="role"/> | 
|---|
|  | 70 | <xsl:choose> | 
|---|
|  | 71 | <xsl:when test="$purpose = 'xref' and titleabbrev"> | 
|---|
|  | 72 | <xsl:apply-templates select="." mode="titleabbrev.markup"/> | 
|---|
|  | 73 | </xsl:when> | 
|---|
|  | 74 | <xsl:otherwise> | 
|---|
|  | 75 | <xsl:copy-of select="$title"/> | 
|---|
|  | 76 | <xsl:value-of select="$role"/> | 
|---|
|  | 77 | </xsl:otherwise> | 
|---|
|  | 78 | </xsl:choose> | 
|---|
|  | 79 | </xsl:template> | 
|---|
|  | 80 |  | 
|---|
|  | 81 | <!-- The CSS Stylesheet --> | 
|---|
|  | 82 | <xsl:template name='user.head.content'> | 
|---|
|  | 83 | <style type="text/css"> | 
|---|
|  | 84 | <xsl:text> | 
|---|
|  | 85 | /* Global settings */ | 
|---|
|  | 86 | body { | 
|---|
|  | 87 | font-family: sans-serif; | 
|---|
|  | 88 | text-align: left; | 
|---|
|  | 89 | background: #fff; | 
|---|
|  | 90 | color: #333; | 
|---|
|  | 91 | margin: 1em; | 
|---|
|  | 92 | padding: 0; | 
|---|
|  | 93 | font-size: 1em; | 
|---|
|  | 94 | line-height: 1.2em | 
|---|
|  | 95 | } | 
|---|
|  | 96 |  | 
|---|
|  | 97 | a:link { color: #22b; } | 
|---|
|  | 98 | a:visited { color: #7e4988; } | 
|---|
|  | 99 | a:hover, a:focus { color: #d30e08; } | 
|---|
|  | 100 | a:active { color: #6b77b1;} | 
|---|
|  | 101 |  | 
|---|
|  | 102 | /* Headers */ | 
|---|
|  | 103 | h1, h2, b, strong { | 
|---|
|  | 104 | color: #000; | 
|---|
|  | 105 | font-weight: bold; | 
|---|
|  | 106 | } | 
|---|
|  | 107 |  | 
|---|
|  | 108 | h3, h4, h5, h6 { | 
|---|
|  | 109 | color: #222; | 
|---|
|  | 110 | } | 
|---|
|  | 111 |  | 
|---|
|  | 112 | h1 { font-size: 173%; text-align: center; } | 
|---|
|  | 113 | h2 { font-size: 144%; } | 
|---|
|  | 114 | h2.subtitle { text-align: center; } | 
|---|
|  | 115 | h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em; } | 
|---|
|  | 116 | h4 { font-size: 110%;} | 
|---|
|  | 117 | h5, h6 { font-size: 110%; font-style: italic; } | 
|---|
|  | 118 |  | 
|---|
|  | 119 | /* TOC and Index*/ | 
|---|
|  | 120 |  | 
|---|
|  | 121 | div.toc ul, div.index ul, div.navheader ul, div.navfooter ul { | 
|---|
|  | 122 | list-style: none; | 
|---|
|  | 123 | } | 
|---|
|  | 124 |  | 
|---|
|  | 125 | div.toc, div.dedication { | 
|---|
|  | 126 | padding-left: 1em; | 
|---|
|  | 127 | } | 
|---|
|  | 128 |  | 
|---|
|  | 129 | li.preface { | 
|---|
|  | 130 | margin-left: 1em; | 
|---|
|  | 131 | } | 
|---|
|  | 132 |  | 
|---|
|  | 133 | div.toc ul li h3, div.toc ul li h4 { | 
|---|
|  | 134 | margin: .4em; | 
|---|
|  | 135 | } | 
|---|
|  | 136 |  | 
|---|
|  | 137 | .item { | 
|---|
|  | 138 | width: 15em; | 
|---|
|  | 139 | float: left; | 
|---|
|  | 140 | } | 
|---|
|  | 141 |  | 
|---|
|  | 142 | .secitem { | 
|---|
|  | 143 | font-weight: normal; | 
|---|
|  | 144 | width: 14em; | 
|---|
|  | 145 | float: left; | 
|---|
|  | 146 | } | 
|---|
|  | 147 |  | 
|---|
|  | 148 | /* Admonitions */ | 
|---|
|  | 149 | div.note, div.tip { | 
|---|
|  | 150 | background-color: #fffff6; | 
|---|
|  | 151 | border: 2px solid #dbddec; | 
|---|
|  | 152 | width: 90%; | 
|---|
|  | 153 | margin: .5em auto; | 
|---|
|  | 154 | } | 
|---|
|  | 155 |  | 
|---|
|  | 156 | div.important, div.warning, div.caution { | 
|---|
|  | 157 | background-color: #fffff6; | 
|---|
|  | 158 | border: medium solid #400; | 
|---|
|  | 159 | width: 90%; | 
|---|
|  | 160 | margin: 1.5em auto; | 
|---|
|  | 161 | color: #600; | 
|---|
|  | 162 | font-size: larger; | 
|---|
|  | 163 | } | 
|---|
|  | 164 |  | 
|---|
|  | 165 | div.important h3, div.warning h3, div.caution h3 { | 
|---|
|  | 166 | color: #900; | 
|---|
|  | 167 | } | 
|---|
|  | 168 |  | 
|---|
|  | 169 | h3.admontitle { | 
|---|
|  | 170 | padding-left: 2.5em; | 
|---|
|  | 171 | padding-top: 1em; | 
|---|
|  | 172 | } | 
|---|
|  | 173 |  | 
|---|
|  | 174 | div.admonbody { | 
|---|
|  | 175 | margin: .5em; | 
|---|
|  | 176 | } | 
|---|
|  | 177 |  | 
|---|
|  | 178 | div.important em, div.warning em, div.caution em { | 
|---|
|  | 179 | color: #000; | 
|---|
|  | 180 | font-weight: bold; | 
|---|
|  | 181 | } | 
|---|
|  | 182 |  | 
|---|
|  | 183 | div.important tt, div.warning tt, div.caution tt { | 
|---|
|  | 184 | font-weight: bold; | 
|---|
|  | 185 | } | 
|---|
|  | 186 |  | 
|---|
|  | 187 | /* variablelist and segmentedlist */ | 
|---|
|  | 188 | dl { | 
|---|
|  | 189 | margin: 0; | 
|---|
|  | 190 | padding: 0; | 
|---|
|  | 191 | } | 
|---|
|  | 192 |  | 
|---|
|  | 193 | dt { | 
|---|
|  | 194 | display: list-item; | 
|---|
|  | 195 | font-weight: bold; | 
|---|
|  | 196 | margin: .33em 0 0 1em; | 
|---|
|  | 197 | padding: 0; | 
|---|
|  | 198 | } | 
|---|
|  | 199 |  | 
|---|
|  | 200 | div.content dt { | 
|---|
|  | 201 | list-style: none; | 
|---|
|  | 202 | } | 
|---|
|  | 203 |  | 
|---|
|  | 204 | dd  { | 
|---|
|  | 205 | margin: 0 0 1em 3em; | 
|---|
|  | 206 | padding: 0; | 
|---|
|  | 207 | } | 
|---|
|  | 208 |  | 
|---|
|  | 209 | div.variablelist dd { | 
|---|
|  | 210 | margin-bottom: 1em; | 
|---|
|  | 211 | } | 
|---|
|  | 212 |  | 
|---|
|  | 213 | div.variablelist dd p { | 
|---|
|  | 214 | margin-top: 0px; | 
|---|
|  | 215 | } | 
|---|
|  | 216 |  | 
|---|
|  | 217 | dl.materials dd { | 
|---|
|  | 218 | margin-left: 0px; | 
|---|
|  | 219 | } | 
|---|
|  | 220 |  | 
|---|
|  | 221 | div.segmentedlist { | 
|---|
|  | 222 | margin-top: 1em; | 
|---|
|  | 223 | } | 
|---|
|  | 224 |  | 
|---|
|  | 225 | div.segmentedlist p { | 
|---|
|  | 226 | margin: 0px auto; | 
|---|
|  | 227 | } | 
|---|
|  | 228 |  | 
|---|
|  | 229 | /* itemizedlist */ | 
|---|
|  | 230 |  | 
|---|
|  | 231 | div.itemizedlist { | 
|---|
|  | 232 | margin-left: 1em; | 
|---|
|  | 233 | } | 
|---|
|  | 234 |  | 
|---|
|  | 235 | /* Indented blocks */ | 
|---|
|  | 236 | p, ul, dl, code, blockquote { | 
|---|
|  | 237 | padding-left: 1em; | 
|---|
|  | 238 | } | 
|---|
|  | 239 |  | 
|---|
|  | 240 | /* Monospaced elements */ | 
|---|
|  | 241 | tt, code, kbd, pre, .command { | 
|---|
|  | 242 | font-family: monospace; | 
|---|
|  | 243 | } | 
|---|
|  | 244 |  | 
|---|
|  | 245 | pre.userinput { | 
|---|
|  | 246 | color: #101310; | 
|---|
|  | 247 | background-color: #e5e5e5; | 
|---|
|  | 248 | border: 1px solid #050505; | 
|---|
|  | 249 | padding: .5em 1em; | 
|---|
|  | 250 | margin: 0 2em; | 
|---|
|  | 251 | font-weight: bold; | 
|---|
|  | 252 | } | 
|---|
|  | 253 |  | 
|---|
|  | 254 | pre.screen { | 
|---|
|  | 255 | background-color: #e9e9e9; | 
|---|
|  | 256 | border: 1px solid #050505; | 
|---|
|  | 257 | padding: .5em 1em; | 
|---|
|  | 258 | margin: 0 2em; | 
|---|
|  | 259 | } | 
|---|
|  | 260 |  | 
|---|
|  | 261 | /* Sections */ | 
|---|
|  | 262 | div.package { | 
|---|
|  | 263 | background: #f5f6f7; | 
|---|
|  | 264 | border-bottom: 0.2em solid #dbddec; | 
|---|
|  | 265 | padding: 0.5em 0.5em 0.3em 0.5em; | 
|---|
|  | 266 | margin: 0px auto; | 
|---|
|  | 267 | } | 
|---|
|  | 268 |  | 
|---|
|  | 269 | div.installation { | 
|---|
|  | 270 | padding: 0 0.5em 0.3em 0.5em; | 
|---|
|  | 271 | margin: 0.5em 0 0.5em 0; | 
|---|
|  | 272 | } | 
|---|
|  | 273 |  | 
|---|
|  | 274 | div.configuration { | 
|---|
|  | 275 | background:   #fefefe; | 
|---|
|  | 276 | border-top: 0.2em solid #dbddec; | 
|---|
|  | 277 | padding: 0.5em; | 
|---|
|  | 278 | margin: 0.5em 0 .5em 0; | 
|---|
|  | 279 | } | 
|---|
|  | 280 |  | 
|---|
|  | 281 | div.content { | 
|---|
|  | 282 | background: #f5f6f7; | 
|---|
|  | 283 | border-top: 0.2em solid #dbddec; | 
|---|
|  | 284 | border-bottom: 0.2em solid #dbddec; | 
|---|
|  | 285 | padding: 0.5em 0.5em 1em 0.5em; | 
|---|
|  | 286 | margin: 0.5em 0 .5em 0; | 
|---|
|  | 287 | } | 
|---|
|  | 288 |  | 
|---|
|  | 289 | div.installation h3.title, div.content h3.title { | 
|---|
|  | 290 | padding-top: 0.3em; | 
|---|
|  | 291 | margin: 0; | 
|---|
|  | 292 | } | 
|---|
|  | 293 |  | 
|---|
|  | 294 | div.book, div.preface, div.part, div.chapter, div.sect1, div.index { | 
|---|
|  | 295 | padding-bottom: 0.5em; | 
|---|
|  | 296 | } | 
|---|
|  | 297 |  | 
|---|
|  | 298 | div.preface h2, div.part h1, div.chapter h2.title, div.sect1 h2.title, div.index h1 { | 
|---|
|  | 299 | background: #f5f6f7; | 
|---|
|  | 300 | border-bottom: .2em solid #dbddec; | 
|---|
|  | 301 | border-top: .2em solid #dbddec; | 
|---|
|  | 302 | margin-top 1em; | 
|---|
|  | 303 | padding: .5em; | 
|---|
|  | 304 | text-align: center; | 
|---|
|  | 305 | } | 
|---|
|  | 306 |  | 
|---|
|  | 307 | div.book h1 { | 
|---|
|  | 308 | background: #f5f6f7; | 
|---|
|  | 309 | margin: 0px auto; | 
|---|
|  | 310 | padding: 0.5em; | 
|---|
|  | 311 | } | 
|---|
|  | 312 |  | 
|---|
|  | 313 | div.book h2.subtitle { | 
|---|
|  | 314 | background: #dbddec; | 
|---|
|  | 315 | margin: 0px auto; | 
|---|
|  | 316 | padding: 0.2em; | 
|---|
|  | 317 | } | 
|---|
|  | 318 | div.authorgroup, div p.copyright, div.abstract { | 
|---|
|  | 319 | background: #f5f6f7; | 
|---|
|  | 320 | margin: 0px auto; | 
|---|
|  | 321 | padding:  1em 0.5em; | 
|---|
|  | 322 | } | 
|---|
|  | 323 |  | 
|---|
|  | 324 | hr { | 
|---|
|  | 325 | background: #dbddec; | 
|---|
|  | 326 | height: .3em; | 
|---|
|  | 327 | border: 0px; | 
|---|
|  | 328 | margin: 0px auto; | 
|---|
|  | 329 | padding: 0; | 
|---|
|  | 330 | } | 
|---|
|  | 331 | </xsl:text> | 
|---|
|  | 332 | </style> | 
|---|
|  | 333 | </xsl:template> | 
|---|
|  | 334 |  | 
|---|
|  | 335 | </xsl:stylesheet> | 
|---|