summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl')
-rw-r--r--Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl25
1 files changed, 12 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl
index 9f5165fc4ed..fce6e7f64cf 100644
--- a/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl
+++ b/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl
@@ -1,15 +1,13 @@
<?xml version='1.0' encoding="ISO-8859-1"?>
-<!-- minilatex.xsl -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:output method="text" indent="no" encoding="ISO-8859-1"/>
-
-<xsl:strip-space elements="*"/>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
+ xmlns="http://www.tug.org/latex"
+ default-space="strip"
+ indent-result="no"
+ result-ns="">
<xsl:template match="/">
<xsl:text>\documentclass[francais]{article}
-\usepackage{invitationfr}
+\usepackage{invitation}
\usepackage[T1]{fontenc}
\begin{document}
</xsl:text>
@@ -18,7 +16,7 @@
</xsl:text>
</xsl:template>
-<xsl:template match="entête">
+<xsl:template match="invitation/entête">
<xsl:text>\begin{Front}
\To{</xsl:text>
<xsl:value-of select="à"/>
@@ -36,7 +34,7 @@
</xsl:text>
</xsl:template>
-<xsl:template match="corps">
+<xsl:template match="invitation/corps">
<xsl:text>\begin{Body}
</xsl:text>
<xsl:apply-templates/>
@@ -44,18 +42,18 @@
</xsl:text>
</xsl:template>
-<xsl:template match="par">
+<xsl:template match="invitation/corps/par">
<xsl:text>\par</xsl:text>
<xsl:apply-templates/>
</xsl:template>
-<xsl:template match="emph">
+<xsl:template match="invitation/corps/par/emph">
<xsl:text>\emph{</xsl:text>
<xsl:apply-templates/>
<xsl:text>}</xsl:text>
</xsl:template>
-<xsl:template match="fin">
+<xsl:template match="invitation/fin">
<xsl:text>\begin{Back}
\Signature{</xsl:text>
<xsl:value-of select="signature"/>
@@ -65,3 +63,4 @@
</xsl:template>
</xsl:stylesheet>
+