source: rtems-tools/doc/asciidoc/docbook-xsl/text.xsl @ f91e023

4.104.115
Last change on this file since f91e023 was f91e023, checked in by Chris Johns <chrisj@…>, on 02/17/14 at 07:04:46

Add the documentation.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<?xml version="1.0"?>
2<!--
3  Used by AsciiDoc a2x(1) for w3m(1) based text generation.
4
5  NOTE: The URL reference to the current DocBook XSL stylesheets is
6  rewritten to point to the copy on the local disk drive by the XML catalog
7  rewrite directives so it doesn't need to go out to the Internet for the
8  stylesheets. This means you don't need to edit the <xsl:import> elements on
9  a machine by machine basis.
10-->
11<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12                version="1.0">
13  <xsl:import
14    href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
15
16  <!-- parameters for optimal text output -->
17  <xsl:param name="callout.graphics" select="0"/>
18  <xsl:param name="callout.unicode" select="0"/>
19  <xsl:param name="section.autolabel" select="1"/>
20  <xsl:param name="section.label.includes.component.label" select="1"/>
21  <xsl:param name="generate.toc">
22  appendix  title
23  article/appendix  nop
24  article   toc,title
25  book      toc,title,figure,table,example,equation
26  chapter   title
27  part      toc,title
28  preface   toc,title
29  qandadiv  toc
30  qandaset  toc
31  reference toc,title
32  section   toc
33  set       toc,title
34  </xsl:param>
35
36  <xsl:template match="book/bookinfo/title | article/articleinfo/title" mode="titlepage.mode">
37      <hr />
38        <xsl:apply-imports/>
39      <hr />
40  </xsl:template>
41
42  <xsl:template match="book/*/title | article/*/title" mode="titlepage.mode">
43      <br /><hr />
44        <xsl:apply-imports/>
45      <hr />
46  </xsl:template>
47
48  <xsl:template match="book/chapter/*/title | article/section/*/title" mode="titlepage.mode">
49      <br />
50        <xsl:apply-imports/>
51      <hr width="100" align="left" />
52  </xsl:template>
53
54
55</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.