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>
11 <xsl:param name="header.rule" select="0" />
12 <xsl:param name="footer.rule" select="0" />
15 <!-- more quiet output of author information -->
17 <xsl:template match="authorgroup" mode="titlepage.mode">
18 <ul class="authorgroup">
19 <xsl:apply-templates mode="matita.manual.mode" />
22 <xsl:template match="author" mode="matita.manual.mode">
24 <xsl:value-of select="firstname" />
25 <xsl:text> </xsl:text>
26 <xsl:value-of select="surname" />
27 <xsl:text> <</xsl:text>
28 <xsl:element name="a">
29 <xsl:attribute name="href">
30 <xsl:text>mailto:</xsl:text>
31 <xsl:value-of select="affiliation/address/email" />
33 <xsl:value-of select="affiliation/address/email" />
35 <xsl:text>></xsl:text>
39 <!-- only print the latest revision instead of all of them -->
40 <!-- XXX ZACK: right now it just assumes that only one revision does exist -->
42 <xsl:template match="revhistory" mode="titlepage.mode">
43 <div class="revhistory">
44 <xsl:apply-templates mode="matita.manual.mode" />
47 <xsl:template match="revision" mode="matita.manual.mode">
48 <span class="revision">
49 <xsl:text>Revision: </xsl:text>
50 <span class="revnumber">
51 <xsl:value-of select="revnumber" />
53 <xsl:text>, </xsl:text>
55 <xsl:value-of select="date" />
60 <!-- Matita logo on the top left corner -->
62 <xsl:template name="user.header.navigation">
64 <div class="matita_logo">
65 <img src="../../images/matita-tiny.png" alt="Tiny Matita logo" />
66 <span>Matita Home</span>