1 <?xml version="1.0" encoding="utf-8"?>
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
5 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
6 <xsl:output method="xml" encoding="utf-8" indent="yes"/>
8 <xsl:param name="use.id.as.filename" select="1" />
9 <xsl:param name="html.stylesheet">docbook.css</xsl:param>
10 <xsl:param name="table.borders.with.css" select="1" />
12 <xsl:param name="header.rule" select="0" />
13 <xsl:param name="footer.rule" select="0" />
16 <!-- more quiet output of author information -->
18 <xsl:template match="authorgroup" mode="titlepage.mode">
19 <ul class="authorgroup">
20 <xsl:apply-templates mode="matita.manual.mode" />
23 <xsl:template match="author" mode="matita.manual.mode">
25 <xsl:value-of select="firstname" />
26 <xsl:text> </xsl:text>
27 <xsl:value-of select="surname" />
28 <xsl:text> <</xsl:text>
29 <xsl:element name="a">
30 <xsl:attribute name="href">
31 <xsl:text>mailto:</xsl:text>
32 <xsl:value-of select="affiliation/address/email" />
34 <xsl:value-of select="affiliation/address/email" />
36 <xsl:text>></xsl:text>
40 <!-- only print the latest revision instead of all of them -->
41 <!-- XXX ZACK: right now it just assumes that only one revision does exist -->
43 <xsl:template match="revhistory" mode="titlepage.mode">
44 <div class="revhistory">
45 <xsl:apply-templates mode="matita.manual.mode" />
48 <xsl:template match="revision" mode="matita.manual.mode">
49 <span class="revision">
50 <xsl:text>Revision: </xsl:text>
51 <span class="revnumber">
52 <xsl:value-of select="revnumber" />
54 <xsl:text>, </xsl:text>
56 <xsl:value-of select="date" />
61 <!-- Matita logo on the top left corner -->
63 <xsl:template name="user.header.navigation">
65 <div class="matita_logo">
66 <img src="../../images/matita-tiny.png" alt="Tiny Matita logo" />
67 <span>Matita Home</span>