summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl')
-rw-r--r--Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl96
1 files changed, 0 insertions, 96 deletions
diff --git a/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl b/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl
deleted file mode 100644
index 735313e70ac..00000000000
--- a/Master/texmf-dist/source/latex/stex/xsl/LaTeXML/LaTeXML-para-html5.xsl
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/=====================================================================\
-| LaTeXML-para-html5.xsl |
-| Converting various (logical) para-level elements 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"
- xmlns:f = "http://dlmf.nist.gov/LaTeXML/functions"
- extension-element-prefixes="f"
- exclude-result-prefixes = "ltx f">
-
-<!-- ======================================================================
- Logical paragraphs
- ====================================================================== -->
-
-<xsl:template match="ltx:para" xml:space="preserve">
- <div class="{f:classes(.)}"><xsl:call-template name="add_id"/><xsl:apply-templates/></div>
-</xsl:template>
-
- <!-- Need to handle attributes! -->
- <xsl:template match="ltx:inline-para" xml:space="preserve">
- <span class="{f:classes(.)}"><xsl:call-template name="add_id"/><xsl:apply-templates/></span>
- </xsl:template>
-
-<!-- ======================================================================
- Theorems
- ====================================================================== -->
-
-<xsl:template match="ltx:theorem | ltx:proof" xml:space="preserve">
- <div class='{f:classes(.)}'><xsl:call-template name="add_id"/>
- <xsl:apply-templates/>
- </div>
-</xsl:template>
-
-<!-- ======================================================================
- Figures & Tables
- ====================================================================== -->
-
-<!--
-<xsl:template match="ltx:figure | ltx:table | ltx:listing" xml:space="preserve">
- <div class='{f:classes(.)}'><xsl:call-template name="add_id"/><xsl:apply-templates/></div>
-</xsl:template>
--->
-
-<xsl:template match="ltx:figure | ltx:table | ltx:float | ltx:listing">
- <figure class='{f:classes(.)}' style="{f:positioning(.)}">
- <xsl:call-template name="add_id"/>
- <xsl:choose>
- <xsl:when test="count(ltx:figure | ltx:table | ltx:float | ltx:listing | ltx:graphics) > 1">
- <table style="width:100%;">
- <tr>
- <xsl:for-each select="ltx:figure | ltx:table | ltx:float | ltx:listing | ltx:graphics">
- <td><xsl:apply-templates select="."/></td>
- </xsl:for-each>
- </tr>
- </table>
- <xsl:apply-templates select="ltx:caption"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </figure>
-</xsl:template>
-
-<xsl:template match="ltx:listing/ltx:tabular" xml:space="preserve">
- <table class="{f:classes(.)}">
- <xsl:call-template name="add_id"/>
- <xsl:apply-templates/>
- </table>
-</xsl:template>
-
-<xsl:template match="ltx:caption" xml:space="preserve">
- <figcaption class="{concat(f:classes(.),
- f:if(@font,concat(' ',@font),''),
- f:if(@size,concat(' ',@size),''))}"
- style="{f:if(@color,concat('color:',@color),'')}">
- <xsl:call-template name="add_id"/>
- <xsl:apply-templates/>
- </figcaption>
-</xsl:template>
-
-<xsl:template match="ltx:toccaption"/>
-
-</xsl:stylesheet> \ No newline at end of file