Move .xsl.in's to id.xsl's .. so that we reduce .in files further.
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 2 Jun 2006 10:50:28 +0000 (10:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 2 Jun 2006 10:50:28 +0000 (10:50 +0000)
Makefile.am
id.htmlhelp.xsl [new file with mode: 0644]
id.man.xsl [new file with mode: 0644]
id.tkl.xsl [new file with mode: 0644]

index f4a6a81..1d26daa 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.11 2006-05-24 12:46:39 adam Exp $
+## $Id: Makefile.am,v 1.12 2006-06-02 10:50:28 adam Exp $
 
 commondir=$(datadir)/doc/@PACKAGE@/common
 
@@ -13,7 +13,10 @@ SUPPORTFILES = \
  html.xsl.in \
  tkl.xsl.in \
  print.dsl.in \
- man.xsl.in
+ man.xsl.in \
+ id.htmlhelp.xsl \
+ id.man.xsl \
+ id.tkl.xsl 
 
 EXTRA_DIST = $(SUPPORTFILES) $(common_DATA) README
 
diff --git a/id.htmlhelp.xsl b/id.htmlhelp.xsl
new file mode 100644 (file)
index 0000000..f5d4b7b
--- /dev/null
@@ -0,0 +1,18 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+               version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl" />
+
+<xsl:template name="body.attributes">
+   <link rel="stylesheet" type="text/css" href="common/style1.css"/>
+</xsl:template>
+<xsl:variable name="suppress.navigation">0</xsl:variable>
+<xsl:variable name="use.id.as.filename">1</xsl:variable>
+<xsl:variable name="generate.book.toc">1</xsl:variable>
+<xsl:variable name="toc.section.depth">3</xsl:variable>
+<xsl:variable name="generate.toc.section.depth">3</xsl:variable>
+<xsl:variable name="section.autolabel">1</xsl:variable>
+
+</xsl:stylesheet>
+
+
diff --git a/id.man.xsl b/id.man.xsl
new file mode 100644 (file)
index 0000000..6cea265
--- /dev/null
@@ -0,0 +1,7 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+               version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
+</xsl:stylesheet>
+
+
diff --git a/id.tkl.xsl b/id.tkl.xsl
new file mode 100644 (file)
index 0000000..5f9a89d
--- /dev/null
@@ -0,0 +1,47 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+               version="1.0">
+
+  <xsl:include href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+
+  <xsl:variable name="use.id.as.filename">1</xsl:variable>
+  <xsl:variable name="html.ext">.tkl</xsl:variable>
+  <xsl:variable name="navig.showtitles">0</xsl:variable>
+  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> 
+
+<xsl:template name="chunk-element-content">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+
+  <xsl:element name="document">
+    <title>
+       <xsl:apply-templates select="." mode="object.title.markup"/>
+    </title>
+    <nonews>1</nonews>
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.navigation"/>
+
+      <xsl:call-template name="header.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.header.content"/>
+
+      <xsl:apply-imports/>
+
+      <xsl:call-template name="user.footer.content"/>
+
+      <xsl:call-template name="footer.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.footer.navigation"/>
+    </body>
+  </xsl:element>
+</xsl:template>
+
+</xsl:stylesheet>
+
+