[3fe8b511] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
[276015d2] | 3 | <!--
|
---|
| 4 | $LastChangedBy$
|
---|
| 5 | $Date$
|
---|
| 6 | -->
|
---|
| 7 |
|
---|
[3fe8b511] | 8 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 9 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
| 10 | version="1.0">
|
---|
| 11 |
|
---|
| 12 | <!-- We use XHTML -->
|
---|
[ea5f366] | 13 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
|
---|
[3fe8b511] | 14 |
|
---|
[c5b9704] | 15 | <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
|
---|
[3fe8b511] | 16 | <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
---|
[845e9193] | 17 |
|
---|
[3fe8b511] | 18 | <!-- Including our others customized templates -->
|
---|
| 19 | <xsl:include href="xhtml/lfs-index.xsl"/>
|
---|
| 20 | <xsl:include href="xhtml/lfs-mixed.xsl"/>
|
---|
| 21 | <xsl:include href="xhtml/lfs-sections.xsl"/>
|
---|
| 22 | <xsl:include href="xhtml/lfs-toc.xsl"/>
|
---|
| 23 | <xsl:include href="xhtml/lfs-xref.xsl"/>
|
---|
| 24 |
|
---|
| 25 | <!-- This file contains our localization strings (for internationalization) -->
|
---|
[b26564ea] | 26 | <xsl:param name="local.l10n.xml" select="document('blfs-l10n.xml')"/>
|
---|
[3fe8b511] | 27 |
|
---|
| 28 | <!-- Dropping some unwanted style attributes -->
|
---|
| 29 | <xsl:param name="ulink.target" select="''"></xsl:param>
|
---|
| 30 | <xsl:param name="css.decoration" select="0"></xsl:param>
|
---|
| 31 |
|
---|
[c5b9704] | 32 | <!-- Don't use graphics in admonitions -->
|
---|
| 33 | <xsl:param name="admon.graphics" select="0"/>
|
---|
| 34 |
|
---|
| 35 | <!-- Changing the admonitions output tagging -->
|
---|
| 36 | <xsl:template name="nongraphical.admonition">
|
---|
| 37 | <div class="{name(.)}">
|
---|
| 38 | <div class ="admonhead">
|
---|
| 39 | <h3 class="admontitle">
|
---|
| 40 | <xsl:apply-templates select="." mode="object.title.markup"/>
|
---|
| 41 | </h3>
|
---|
| 42 | </div>
|
---|
| 43 | <div class="admonbody">
|
---|
| 44 | <xsl:apply-templates/>
|
---|
| 45 | </div>
|
---|
| 46 | </div>
|
---|
| 47 | </xsl:template>
|
---|
| 48 |
|
---|
[4a7621f] | 49 | <!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)
|
---|
| 50 | Commented out until can do section numbering
|
---|
[3fe8b511] | 51 | <xsl:template name="sect2.titlepage">
|
---|
| 52 | <xsl:choose>
|
---|
| 53 | <xsl:when test="string-length(title) = 0"/>
|
---|
| 54 | <xsl:otherwise>
|
---|
| 55 | <div class="titlepage">
|
---|
| 56 | <xsl:if test="@id">
|
---|
| 57 | <a id="{@id}" name="{@id}"/>
|
---|
| 58 | </xsl:if>
|
---|
| 59 | <h3 class="{name(.)}">
|
---|
| 60 | <xsl:apply-templates select="." mode="label.markup"/>
|
---|
| 61 | <xsl:text>. </xsl:text>
|
---|
| 62 | <xsl:value-of select="title"/>
|
---|
| 63 | </h3>
|
---|
| 64 | </div>
|
---|
| 65 | </xsl:otherwise>
|
---|
| 66 | </xsl:choose>
|
---|
[4a7621f] | 67 | </xsl:template>-->
|
---|
[3fe8b511] | 68 |
|
---|
| 69 | <!-- Added the role param for proper punctuation in xref calls
|
---|
| 70 | (from lfs-titles.xsl). -->
|
---|
| 71 | <xsl:template match="*" mode="insert.title.markup">
|
---|
| 72 | <xsl:param name="purpose"/>
|
---|
| 73 | <xsl:param name="xrefstyle"/>
|
---|
| 74 | <xsl:param name="title"/>
|
---|
| 75 | <xsl:param name="role"/>
|
---|
| 76 | <xsl:choose>
|
---|
| 77 | <xsl:when test="$purpose = 'xref' and titleabbrev">
|
---|
| 78 | <xsl:apply-templates select="." mode="titleabbrev.markup"/>
|
---|
| 79 | </xsl:when>
|
---|
| 80 | <xsl:otherwise>
|
---|
| 81 | <xsl:copy-of select="$title"/>
|
---|
| 82 | <xsl:value-of select="$role"/>
|
---|
| 83 | </xsl:otherwise>
|
---|
| 84 | </xsl:choose>
|
---|
| 85 | </xsl:template>
|
---|
| 86 |
|
---|
| 87 | <!-- The CSS Stylesheet -->
|
---|
| 88 | <xsl:template name='user.head.content'>
|
---|
| 89 | <style type="text/css">
|
---|
| 90 | <xsl:text>
|
---|
| 91 | /* Global settings */
|
---|
| 92 | body {
|
---|
| 93 | font-family: verdana, tahoma, helvetica, arial, sans-serif;
|
---|
| 94 | text-align: left;
|
---|
| 95 | background: #fff;
|
---|
| 96 | color: #333;
|
---|
| 97 | margin: 1em;
|
---|
| 98 | padding: 0;
|
---|
| 99 | font-size: 1em;
|
---|
| 100 | line-height: 1.2em
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | a:link { color: #22b; }
|
---|
| 104 | a:visited { color: #7e4988; }
|
---|
| 105 | a:hover, a:focus { color: #d30e08; }
|
---|
| 106 | a:active { color: #6b77b1;}
|
---|
| 107 |
|
---|
| 108 | /* Headers */
|
---|
| 109 | h1, h2, b, strong {
|
---|
| 110 | color: #000;
|
---|
| 111 | font-weight: bold;
|
---|
| 112 | }
|
---|
| 113 |
|
---|
| 114 | h3, h4, h5, h6 {
|
---|
| 115 | color: #222;
|
---|
| 116 | }
|
---|
| 117 |
|
---|
[e5d19ba] | 118 | h1 { font-size: 173%; text-align: center; line-height: 1.2em; }
|
---|
| 119 | h1.title sup { font-size: small; }
|
---|
| 120 | h2 { font-size: 144%; line-height: 1.2em; }
|
---|
| 121 | h2.subtitle { text-align: center; line-height: 1.2em; }
|
---|
| 122 | h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em; line-height: 1.2em; }
|
---|
[3fe8b511] | 123 | h4 { font-size: 110%;}
|
---|
[e5d19ba] | 124 | div.package h4, h5, h6 { font-size: 110%; font-style: italic; }
|
---|
[3fe8b511] | 125 |
|
---|
| 126 | /* TOC and Index*/
|
---|
| 127 |
|
---|
| 128 | div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
|
---|
| 129 | list-style: none;
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | div.toc, div.dedication {
|
---|
| 133 | padding-left: 1em;
|
---|
| 134 | }
|
---|
| 135 |
|
---|
| 136 | li.preface {
|
---|
| 137 | margin-left: 1em;
|
---|
| 138 | }
|
---|
| 139 |
|
---|
| 140 | div.toc ul li h3, div.toc ul li h4 {
|
---|
| 141 | margin: .4em;
|
---|
| 142 | }
|
---|
| 143 |
|
---|
| 144 | .item {
|
---|
[e5d19ba] | 145 | width: 18.5em;
|
---|
[3fe8b511] | 146 | float: left;
|
---|
| 147 | }
|
---|
| 148 |
|
---|
[e5d19ba] | 149 | .indexref {
|
---|
| 150 | margin-left: 18.5em;
|
---|
| 151 | }
|
---|
| 152 |
|
---|
[3fe8b511] | 153 | .secitem {
|
---|
| 154 | font-weight: normal;
|
---|
[e5d19ba] | 155 | width: 16em;
|
---|
[3fe8b511] | 156 | float: left;
|
---|
| 157 | }
|
---|
| 158 |
|
---|
| 159 | /* Admonitions */
|
---|
| 160 | div.note, div.tip {
|
---|
| 161 | background-color: #fffff6;
|
---|
| 162 | border: 2px solid #dbddec;
|
---|
| 163 | width: 90%;
|
---|
| 164 | margin: .5em auto;
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | div.important, div.warning, div.caution {
|
---|
| 168 | background-color: #fffff6;
|
---|
| 169 | border: medium solid #400;
|
---|
| 170 | width: 90%;
|
---|
| 171 | margin: 1.5em auto;
|
---|
| 172 | color: #600;
|
---|
| 173 | font-size: larger;
|
---|
| 174 | }
|
---|
| 175 |
|
---|
| 176 | div.important h3, div.warning h3, div.caution h3 {
|
---|
| 177 | color: #900;
|
---|
| 178 | }
|
---|
| 179 |
|
---|
| 180 | h3.admontitle {
|
---|
| 181 | padding-left: 2.5em;
|
---|
| 182 | padding-top: 1em;
|
---|
| 183 | }
|
---|
| 184 |
|
---|
| 185 | div.admonbody {
|
---|
| 186 | margin: .5em;
|
---|
| 187 | }
|
---|
| 188 |
|
---|
| 189 | div.important em, div.warning em, div.caution em {
|
---|
| 190 | color: #000;
|
---|
| 191 | font-weight: bold;
|
---|
| 192 | }
|
---|
| 193 |
|
---|
| 194 | div.important tt, div.warning tt, div.caution tt {
|
---|
| 195 | font-weight: bold;
|
---|
| 196 | }
|
---|
| 197 |
|
---|
[e5d19ba] | 198 | table {
|
---|
| 199 | width: auto;
|
---|
| 200 | margin-left: 1em;
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | td {
|
---|
| 204 | vertical-align: top;
|
---|
| 205 | }
|
---|
| 206 |
|
---|
| 207 | td span, td p {
|
---|
| 208 | margin: 0.3em;
|
---|
| 209 | }
|
---|
| 210 |
|
---|
| 211 | div.table table {
|
---|
| 212 | border-collapse: collapse;
|
---|
| 213 | }
|
---|
| 214 |
|
---|
| 215 | div.table td, div.table th {
|
---|
| 216 | padding: 0.3em;
|
---|
| 217 | text-align: right;
|
---|
| 218 | vertical-align: baseline;
|
---|
| 219 | }
|
---|
| 220 |
|
---|
| 221 | div.table tr > td:first-child, div.table tr > th:first-child {
|
---|
| 222 | text-align: left;
|
---|
| 223 | }
|
---|
| 224 |
|
---|
| 225 | span.term {
|
---|
| 226 | display: block;
|
---|
| 227 | }
|
---|
| 228 |
|
---|
[3fe8b511] | 229 | /* variablelist and segmentedlist */
|
---|
| 230 | dl {
|
---|
| 231 | margin: 0;
|
---|
| 232 | padding: 0;
|
---|
[e5d19ba] | 233 | list-style-type: none;
|
---|
[3fe8b511] | 234 | }
|
---|
| 235 |
|
---|
| 236 | dt {
|
---|
| 237 | display: list-item;
|
---|
| 238 | font-weight: bold;
|
---|
| 239 | margin: .33em 0 0 1em;
|
---|
| 240 | padding: 0;
|
---|
| 241 | }
|
---|
| 242 |
|
---|
[e5d19ba] | 243 | span.seg {
|
---|
| 244 | display: block;
|
---|
| 245 | padding-left: 12em;
|
---|
| 246 | }
|
---|
| 247 |
|
---|
[3fe8b511] | 248 | div.content dt {
|
---|
| 249 | list-style: none;
|
---|
| 250 | }
|
---|
| 251 |
|
---|
| 252 | dd {
|
---|
| 253 | margin: 0 0 1em 3em;
|
---|
| 254 | padding: 0;
|
---|
| 255 | }
|
---|
| 256 |
|
---|
| 257 | div.variablelist dd {
|
---|
| 258 | margin-bottom: 1em;
|
---|
| 259 | }
|
---|
| 260 |
|
---|
| 261 | div.variablelist dd p {
|
---|
| 262 | margin-top: 0px;
|
---|
| 263 | }
|
---|
| 264 |
|
---|
| 265 | dl.materials dd {
|
---|
| 266 | margin-left: 0px;
|
---|
| 267 | }
|
---|
| 268 |
|
---|
| 269 | div.segmentedlist {
|
---|
| 270 | margin-top: 1em;
|
---|
| 271 | }
|
---|
| 272 |
|
---|
| 273 | div.segmentedlist p {
|
---|
| 274 | margin: 0px auto;
|
---|
| 275 | }
|
---|
| 276 |
|
---|
[e5d19ba] | 277 | span.segtitle {
|
---|
| 278 | display: block;
|
---|
| 279 | float: left;
|
---|
| 280 | width: 12em;
|
---|
| 281 | }
|
---|
| 282 |
|
---|
| 283 | div.seg {
|
---|
| 284 | clear: left;
|
---|
| 285 | }
|
---|
| 286 |
|
---|
[3fe8b511] | 287 | /* itemizedlist */
|
---|
| 288 |
|
---|
| 289 | div.itemizedlist {
|
---|
| 290 | margin-left: 1em;
|
---|
| 291 | }
|
---|
| 292 |
|
---|
[e5d19ba] | 293 | ul[compact="compact"] li p {
|
---|
[3fe8b511] | 294 | padding: 0.3em;
|
---|
| 295 | margin: 0em;
|
---|
| 296 | background-color: #f0fff0;
|
---|
| 297 | }
|
---|
| 298 |
|
---|
| 299 | /* Indented blocks */
|
---|
| 300 | p, ul, dl, code, blockquote {
|
---|
| 301 | padding-left: 1em;
|
---|
| 302 | }
|
---|
| 303 |
|
---|
| 304 | /* Monospaced elements */
|
---|
| 305 | tt, code, kbd, pre, .command {
|
---|
| 306 | font-family: monospace;
|
---|
| 307 | }
|
---|
| 308 |
|
---|
| 309 | pre.userinput {
|
---|
| 310 | color: #101310;
|
---|
| 311 | background-color: #e5e5e5;
|
---|
| 312 | border: 1px solid #050505;
|
---|
| 313 | padding: .5em 1em;
|
---|
| 314 | margin: 0 2em;
|
---|
| 315 | font-weight: bold;
|
---|
| 316 | }
|
---|
| 317 |
|
---|
[e5d19ba] | 318 | pre.root {
|
---|
| 319 | color: #101310;
|
---|
| 320 | background-color: #e5e5e5;
|
---|
| 321 | border: 1px solid #050505;
|
---|
| 322 | padding: .5em 1em;
|
---|
| 323 | margin: 0 2em;
|
---|
| 324 | font-weight: bold;
|
---|
| 325 | }
|
---|
| 326 |
|
---|
| 327 | .literal, .prompt {
|
---|
| 328 | font-weight: normal;
|
---|
| 329 | }
|
---|
| 330 |
|
---|
[3fe8b511] | 331 | pre.screen {
|
---|
| 332 | background-color: #e9e9e9;
|
---|
| 333 | border: 1px solid #050505;
|
---|
| 334 | padding: .5em 1em;
|
---|
| 335 | margin: 0 2em;
|
---|
| 336 | }
|
---|
| 337 |
|
---|
| 338 | /* Sections */
|
---|
[e5d19ba] | 339 | div h2 {
|
---|
| 340 | padding: 1em 0 0.5em 0;
|
---|
[3fe8b511] | 341 | margin: 0px auto;
|
---|
| 342 | }
|
---|
| 343 |
|
---|
[e5d19ba] | 344 | div.glossary h2 {
|
---|
| 345 | text-align: center;
|
---|
| 346 | font-size: 173%;
|
---|
| 347 | padding-top: 0.4em;
|
---|
| 348 | border-bottom: .1em solid #dbddec;
|
---|
| 349 | }
|
---|
| 350 |
|
---|
| 351 | div.package {
|
---|
| 352 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 353 | margin: 0.5em 0 0.5em 0;
|
---|
| 354 | }
|
---|
| 355 |
|
---|
| 356 | div.kernel {
|
---|
| 357 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 358 | margin: 0.5em 0 0.5em 0;
|
---|
| 359 | }
|
---|
| 360 |
|
---|
[3fe8b511] | 361 | div.installation {
|
---|
| 362 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 363 | margin: 0.5em 0 0.5em 0;
|
---|
| 364 | }
|
---|
| 365 |
|
---|
[e5d19ba] | 366 | div.commands {
|
---|
| 367 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 368 | margin: 0.5em 0 0.5em 0;
|
---|
[3fe8b511] | 369 | }
|
---|
| 370 |
|
---|
[e5d19ba] | 371 | div.testing {
|
---|
| 372 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 373 | margin: 0.5em 0 0.5em 0;
|
---|
[3fe8b511] | 374 | }
|
---|
| 375 |
|
---|
[e5d19ba] | 376 | div.configuration {
|
---|
| 377 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 378 | margin: 0.5em 0 0.5em 0;
|
---|
| 379 | }
|
---|
| 380 |
|
---|
| 381 | div.content {
|
---|
| 382 | padding: 0 0.5em 0.3em 0.5em;
|
---|
| 383 | margin: 0.5em 0 0.5em 0;
|
---|
[3fe8b511] | 384 | }
|
---|
| 385 |
|
---|
| 386 | div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index {
|
---|
| 387 | padding-bottom: 0.5em;
|
---|
| 388 | }
|
---|
| 389 |
|
---|
| 390 | div.preface h2, div.part h1, div.chapter h2.title, div.sect1 h2.title, div.appendix h1, div.index h1 {
|
---|
| 391 | background: #f5f6f7;
|
---|
[e5d19ba] | 392 | border-bottom: .1em solid #dbddec;
|
---|
| 393 | border-top: .1em solid #dbddec;
|
---|
[3fe8b511] | 394 | margin-top 1em;
|
---|
| 395 | padding: .5em;
|
---|
| 396 | text-align: center;
|
---|
| 397 | }
|
---|
| 398 |
|
---|
| 399 | div.book h1 {
|
---|
| 400 | background: #f5f6f7;
|
---|
| 401 | margin: 0px auto;
|
---|
| 402 | padding: 0.5em;
|
---|
| 403 | }
|
---|
| 404 |
|
---|
| 405 | div.book h2.subtitle {
|
---|
| 406 | background: #dbddec;
|
---|
| 407 | margin: 0px auto;
|
---|
| 408 | padding: 0.2em;
|
---|
| 409 | }
|
---|
[e5d19ba] | 410 | div.authorgroup, div p.copyright, div.abstract, div p.pubdate, div.revhistory {
|
---|
[3fe8b511] | 411 | background: #f5f6f7;
|
---|
| 412 | margin: 0px auto;
|
---|
| 413 | padding: 1em 0.5em;
|
---|
| 414 | }
|
---|
| 415 |
|
---|
| 416 | hr {
|
---|
| 417 | background: #dbddec;
|
---|
| 418 | height: .3em;
|
---|
| 419 | border: 0px;
|
---|
| 420 | margin: 0px auto;
|
---|
| 421 | padding: 0;
|
---|
| 422 | }
|
---|
[e5d19ba] | 423 |
|
---|
| 424 | /* Last edited info */
|
---|
| 425 | p.updated {
|
---|
| 426 | font-size: small;
|
---|
| 427 | font-weight: bold;
|
---|
| 428 | font-style: italic;
|
---|
| 429 | }
|
---|
| 430 |
|
---|
| 431 | /* Inline tags */
|
---|
| 432 |
|
---|
| 433 | tt.systemitem {
|
---|
| 434 | font-style: italic;
|
---|
| 435 | }
|
---|
[3fe8b511] | 436 | </xsl:text>
|
---|
| 437 | </style>
|
---|
| 438 | </xsl:template>
|
---|
| 439 |
|
---|
| 440 | </xsl:stylesheet>
|
---|