diff options
author | Karl Berry <karl@freefriends.org> | 2012-03-30 23:23:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-03-30 23:23:02 +0000 |
commit | 849996eca72af498b48b10fbea7f14c4b9d21b8f (patch) | |
tree | 2d40d42dfc9fc0b0622212cc220868f98345305f /Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl | |
parent | d82e1c23973fd0271f93686f487bd1cee8dcd947 (diff) |
restore stex (ca. 28jan12)
git-svn-id: svn://tug.org/texlive/trunk@25792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl')
-rw-r--r-- | Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl b/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl new file mode 100644 index 00000000000..7b56175b8d6 --- /dev/null +++ b/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-xhtml.xsl @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/=====================================================================\ +| LaTeXML-xhtml.xsl | +| Stylesheet for converting LaTeXML documents to xhtml | +|=====================================================================| +| Part of LaTeXML: | +| Public domain software, produced as part of work done by the | +| United States Government & not subject to copyright in the US. | +|=====================================================================| +| Bruce Miller <bruce.miller@nist.gov> #_# | +| http://dlmf.nist.gov/LaTeXML/ (o o) | +\=========================================================ooo==U==ooo=/ +--> +<xsl:stylesheet + version = "1.0" + xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" + xmlns:ltx = "http://dlmf.nist.gov/LaTeXML" + xmlns = "http://www.w3.org/1999/xhtml" + xmlns:m = "http://www.w3.org/1998/Math/MathML" + xmlns:svg = "http://www.w3.org/2000/svg" + exclude-result-prefixes = "ltx"> + + <xsl:output method="xml" + doctype-public = "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" + doctype-system = "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" + media-type = 'application/xhtml+xml' + encoding = 'utf-8' + indent = "yes"/> +<!-- doctype-system = "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" --> + <xsl:template name="metatype"> + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/> + </xsl:template> + + <xsl:template match="/"> + <html xmlns = "http://www.w3.org/1999/xhtml" + xmlns:m = "http://www.w3.org/1998/Math/MathML" + xmlns:svg = "http://www.w3.org/2000/svg"> + <xsl:copy-of select="/ltx:document/namespace::*[not(local-name() = 'ltx')]"/> + <xsl:call-template name="head"/> + <xsl:call-template name="body"/><xsl:text> + </xsl:text> + </html> + </xsl:template> + +<xsl:include href="LaTeXML-common.xsl"/> +<xsl:include href="LaTeXML-inline-xhtml.xsl"/> +<xsl:include href="LaTeXML-block-xhtml.xsl"/> +<xsl:include href="LaTeXML-para-xhtml.xsl"/> +<xsl:include href="LaTeXML-math-mathml.xsl"/> +<xsl:include href="LaTeXML-tabular-xhtml.xsl"/> +<xsl:include href="LaTeXML-picture-svg.xsl"/> +<xsl:include href="LaTeXML-structure-xhtml.xsl"/> +<xsl:include href="LaTeXML-bib-xhtml.xsl"/> + +<xsl:include href="LaTeXML-webpage-xhtml.xsl"/> + +</xsl:stylesheet> + + |