summaryrefslogtreecommitdiff
path: root/docs/docbook/xslt/db2latex/citation.mod.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/xslt/db2latex/citation.mod.xsl')
-rw-r--r--docs/docbook/xslt/db2latex/citation.mod.xsl66
1 files changed, 66 insertions, 0 deletions
diff --git a/docs/docbook/xslt/db2latex/citation.mod.xsl b/docs/docbook/xslt/db2latex/citation.mod.xsl
new file mode 100644
index 0000000000..ef3493d413
--- /dev/null
+++ b/docs/docbook/xslt/db2latex/citation.mod.xsl
@@ -0,0 +1,66 @@
+<?xml version='1.0'?>
+<!--#############################################################################
+| $Id: citation.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
+|- #############################################################################
+| $Author: ab $
+|
+| PURPOSE:
++ ############################################################################## -->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ exclude-result-prefixes="doc" version='1.0'>
+
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:reference id="citation" xmlns="">
+ <referenceinfo>
+ <releaseinfo role="meta">
+ $Id: citation.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
+ </releaseinfo>
+ <authorgroup>
+ <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
+ <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
+ </authorgroup>
+ <copyright>
+ <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
+ <holder>Ramon Casellas</holder>
+ </copyright>
+ </referenceinfo>
+
+ <title>Citation <filename>citation.mod.xsl</filename></title>
+ <partintro>
+ <section><title>Introduction</title>
+ <para>This file contais a single (and simple!) XSL template, that maps the
+ <sgmltag>citation</sgmltag> SGML tag to the LaTeX <literal>\cite{}</literal>
+ command.</para>
+ </section>
+ </partintro>
+ </doc:reference>
+
+
+ <!--############################################################################# -->
+ <!-- DOCUMENTATION -->
+ <doc:template match="citation" xmlns="">
+ <refpurpose> Citation XSL template. </refpurpose>
+ <refdescription>
+ <para> Outputs a simple <literal>\cite{ }</literal> Command,
+ containing the result of processing the citation's children
+ </para>
+ </refdescription>
+ </doc:template>
+
+
+
+ <xsl:template match="citation">
+ <!-- todo: biblio-citation-check -->
+ <xsl:text>\docbooktolatexcite{</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>}{}</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
+
+