summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl')
-rw-r--r--Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl
new file mode 100644
index 00000000000..807430ab965
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl
@@ -0,0 +1,16 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" default-space="strip">
+
+<xsl:template match="makesum">
+ <xsl:invoke classid="java:com.jclark.xsl.sax.TextFileOutputFilter">
+ <xsl:arg name="file" value="sum.out"/>
+ <xsl:invoke classid="java:com.jclark.xsl.sax.TotalFilter">
+ <xsl:apply-templates/>
+ </xsl:invoke>
+ </xsl:invoke>
+</xsl:template>
+
+<xsl:template match="real">
+ <number><xsl:apply-templates/></number>
+</xsl:template>
+
+</xsl:stylesheet>