1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
<?xml version="1.0" encoding="utf-8"?>
<!--
/=====================================================================\
| LaTeXML-html5.xsl |
| Stylesheet for converting LaTeXML documents to html5 |
|=====================================================================|
| 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"
exclude-result-prefixes="ltx">
<!-- Include all LaTeXML to xhtml modules -->
<xsl:import href="LaTeXML-all-xhtml.xsl"/>
<!-- Override the output method & parameters -->
<xsl:output
method = "html"
omit-xml-declaration="yes"
encoding = 'utf-8'
media-type = 'text/html'/>
<!-- No namespaces; DO use HTML5 elements (include MathML & SVG) -->
<xsl:param name="USE_NAMESPACES" ></xsl:param>
<xsl:param name="USE_HTML5" >true</xsl:param>
<xsl:template match="/" mode="doctype">
<xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text>
</xsl:template>
</xsl:stylesheet>
|