~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

Viewing changes to build/stylesheets/db2latex/slides/foil.mod.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0'?>
 
2
<!--############################################################################# 
 
3
|       $Id: foil.mod.xsl,v 1.1 2003/04/06 18:31:49 rcasellas Exp $
 
4
|- #############################################################################
 
5
|       $Author: rcasellas $
 
6
|                                                                                                               
 
7
|   PURPOSE:
 
8
+ ############################################################################## -->
 
9
 
 
10
<xsl:stylesheet 
 
11
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
12
    xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
 
13
    exclude-result-prefixes="doc" version='1.0'>
 
14
 
 
15
 
 
16
    <!--############################################################################# -->
 
17
    <!-- DOCUMENTATION                                                                -->
 
18
    <doc:reference id="foil" xmlns="">
 
19
    </doc:reference>
 
20
    <!--############################################################################# -->
 
21
 
 
22
    <xsl:template match="foilgroup">
 
23
        <xsl:text>                                                                        &#10;&#10;</xsl:text>
 
24
        <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
 
25
        <xsl:text>\part{</xsl:text><xsl:apply-templates select="title"/><xsl:text>            }&#10;</xsl:text>
 
26
        <xsl:text>%---------------------------------------------------------------------- PART &#10;</xsl:text>
 
27
        <xsl:call-template name="label.id"/>
 
28
        <xsl:text>&#10;&#10;</xsl:text>
 
29
        <xsl:apply-templates select="foil"/>
 
30
    </xsl:template>
 
31
 
 
32
    <xsl:template match="foilgroup/title">
 
33
        <xsl:apply-templates />
 
34
    </xsl:template>
 
35
 
 
36
    <xsl:template match="foil">
 
37
        <xsl:text>&#10;</xsl:text>
 
38
        <xsl:text>%---------------------------------------------------------------------- SLIDE &#10;</xsl:text>
 
39
        <xsl:text>\begin{slide}{</xsl:text>
 
40
        <xsl:apply-templates select="title"/>
 
41
        <xsl:text>}&#10;</xsl:text>
 
42
        <xsl:call-template name="label.id"/>
 
43
        <xsl:text>&#10;</xsl:text>
 
44
        <xsl:apply-templates select="*[not (self::title)]"/>
 
45
        <xsl:text>\end{slide}&#10;</xsl:text>
 
46
    </xsl:template>
 
47
 
 
48
    <xsl:template match="foil/title">
 
49
        <xsl:apply-templates />
 
50
    </xsl:template>
 
51
 
 
52
</xsl:stylesheet>