diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/apc/utf8.xsl')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-web-companion/apc/utf8.xsl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/apc/utf8.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/apc/utf8.xsl new file mode 100644 index 00000000000..de6b5bfaf4c --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/apc/utf8.xsl @@ -0,0 +1,36 @@ +<?xml version='1.0' encoding="UTF-8"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:output method="html" encoding="utf-8"/> +<xsl:template match="/"> + <html> + <head> + <title>UTF8 file</title> + </head> + <body> + <h1>Handling UTF-8 files</h1> + <xsl:apply-templates/> + </body> + </html> +</xsl:template> +<xsl:template match="br"> + <br /> +</xsl:template> +<xsl:template match="par"> + <p><xsl:apply-templates/></p> +</xsl:template> +<xsl:template match="head"> + <h2><xsl:apply-templates/></h2> +</xsl:template> +<!-- eliminate English keyboard input --> +<xsl:template match="eng"> +</xsl:template> +<!-- transmit Russian keyboard input --> +<xsl:template match="рус"> +<p>◆ <xsl:apply-templates/></p> +</xsl:template> +<!-- transmit Greek keyboard input --> +<xsl:template match="ελλ"> +<p>● <xsl:apply-templates/></p> +</xsl:template> +</xsl:stylesheet> |