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.xsl67
1 files changed, 67 insertions, 0 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
new file mode 100644
index 00000000000..9f5165fc4ed
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl
@@ -0,0 +1,67 @@
+<?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:template match="/">
+<xsl:text>\documentclass[francais]{article}
+\usepackage{invitationfr}
+\usepackage[T1]{fontenc}
+\begin{document}
+</xsl:text>
+<xsl:apply-templates/>
+<xsl:text>\end{document}
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="entête">
+<xsl:text>\begin{Front}
+\To{</xsl:text>
+<xsl:value-of select="à"/>
+<xsl:text>}
+\Date{</xsl:text>
+<xsl:value-of select="date"/>
+<xsl:text>}
+\Where{</xsl:text>
+<xsl:value-of select="où"/>
+<xsl:text>}
+\Why{</xsl:text>
+<xsl:value-of select="pourquoi"/>
+<xsl:text>}
+\end{Front}
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="corps">
+<xsl:text>\begin{Body}
+</xsl:text>
+ <xsl:apply-templates/>
+<xsl:text>\end{Body}
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="par">
+<xsl:text>\par</xsl:text>
+<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="emph">
+<xsl:text>\emph{</xsl:text>
+<xsl:apply-templates/>
+<xsl:text>}</xsl:text>
+</xsl:template>
+
+<xsl:template match="fin">
+<xsl:text>\begin{Back}
+\Signature{</xsl:text>
+<xsl:value-of select="signature"/>
+<xsl:text>}
+\end{Back}
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>