diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:23:51 +0000 |
commit | a683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch) | |
tree | 424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/latex-web-companion/apc/invlat1fr.xsl | |
parent | 5beb5368a684995153c8566797ba054f21c666af (diff) |
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
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.xsl | 67 |
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> |