Skip to content
Snippets Groups Projects
Commit 5659b11e authored by Goik Martin's avatar Goik Martin
Browse files

patch minimilization

parent 285c707f
No related branches found
No related tags found
No related merge requests found
--- xmlmind.preMathml/addon/config/docbook5/xsl/html/docbook.xsl 2015-10-19 00:20:37.204988407 +0200
+++ xmlmind.mathml/addon/config/docbook5/xsl/html/docbook.xsl 2015-10-18 22:50:23.202956958 +0200
diff -Naur xmlmind.orig/addon/config/docbook5/xsl/html/docbook.xsl xmlmind/addon/config/docbook5/xsl/html/docbook.xsl
--- xmlmind.orig/addon/config/docbook5/xsl/html/docbook.xsl 2013-03-17 21:08:28.000000000 +0100
+++ xmlmind/addon/config/docbook5/xsl/html/docbook.xsl 2016-01-11 16:29:58.682403447 +0100
@@ -75,6 +75,7 @@
<xsl:include href="html-rtf.xsl"/>
<xsl:include href="annotations.xsl"/>
......@@ -8,8 +9,25 @@
<xsl:param name="stylesheet.result.type" select="'html'"/>
<xsl:param name="htmlhelp.output" select="0"/>
--- xmlmind.preMathml/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl 2015-10-19 00:20:37.204988407 +0200
+++ xmlmind.mathml/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl 2015-10-19 00:14:28.054940293 +0200
diff -Naur xmlmind.orig/addon/config/docbook5/xsl/html/math.xsl xmlmind/addon/config/docbook5/xsl/html/math.xsl
--- xmlmind.orig/addon/config/docbook5/xsl/html/math.xsl 2013-03-17 21:08:28.000000000 +0100
+++ xmlmind/addon/config/docbook5/xsl/html/math.xsl 2016-01-11 16:31:34.656401200 +0100
@@ -33,10 +33,10 @@
<!-- "Support" for MathML -->
<xsl:template match="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
- <xsl:copy>
+ <xsl:element name="{local-name()}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
- </xsl:copy>
+ </xsl:element>
</xsl:template>
<!-- Support for TeX math in alt -->
diff -Naur xmlmind.orig/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl xmlmind/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl
--- xmlmind.orig/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl 2013-03-24 11:53:04.000000000 +0100
+++ xmlmind/addon/config/docbook5/xsl/xhtml-1_1/docbook.xsl 2016-01-11 16:29:58.682403447 +0100
@@ -69,6 +69,7 @@
<xsl:include href="html-rtf.xsl"/>
<xsl:include href="annotations.xsl"/>
......@@ -18,35 +36,19 @@
<xsl:param name="stylesheet.result.type" select="'xhtml'"/>
<xsl:param name="htmlhelp.output" select="0"/>
diff -Naur xmlmind.orig/addon/config/docbook5/xsl/xhtml-1_1/math.xsl xmlmind/addon/config/docbook5/xsl/xhtml-1_1/math.xsl
--- xmlmind.orig/addon/config/docbook5/xsl/xhtml-1_1/math.xsl 2013-03-17 21:08:24.000000000 +0100
+++ xmlmind/addon/config/docbook5/xsl/xhtml-1_1/math.xsl 2015-12-03 16:18:46.416180173 +0100
+++ xmlmind/addon/config/docbook5/xsl/xhtml-1_1/math.xsl 2016-01-11 16:31:49.276096197 +0100
@@ -32,10 +32,10 @@
<!-- "Support" for MathML -->
<xsl:template match="mml:*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
+ <xsl:element name="{local-name()}">
+ <xsl:copy-of select="@*" />
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
- </xsl:copy>
+ </xsl:element>
</xsl:template>
<!-- Support for TeX math in alt -->
--- xmlmind.orig/addon/config/docbook5/xsl/html/math.xsl 2013-03-17 21:08:28.000000000 +0100
+++ xmlmind/addon/config/docbook5/xsl/html/math.xsl 2015-12-03 16:15:10.432189346 +0100
@@ -33,10 +33,10 @@
<!-- "Support" for MathML -->
<xsl:template match="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
+ <xsl:element name="{local-name()}">
+ <xsl:copy-of select="@*" />
<xsl:apply-templates/>
- </xsl:copy>
+ </xsl:element>
</xsl:template>
<!-- Support for TeX math in alt -->
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment