From 2b1b700fd6337733517661fbb36dbf80e6665855 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 17 May 2010 20:03:32 +0000 Subject: [PATCH] Fix bug 16573. Force consistent rendering of \epsilon by always using serverside PNG rendering. --- RELEASE-NOTES | 1 + math/texutil.ml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d095175a4e..132b974d5c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -168,6 +168,7 @@ in a negative namespace (which is invalid). * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such as Opera 8. * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into account upload rights. * (bug 1347) Render \phi in math using images, in order to create consistent and correct render results. +* (bug 16573) Render \epsilon in math using images, in order to create consistent and correct render results. === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent diff --git a/math/texutil.ml b/math/texutil.ml index 0c0f7ccf26..f9f4f9a3b8 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -80,7 +80,7 @@ let find = function | "\\Gamma" -> LITERAL (HTMLABLEC (FONT_UF, "\\Gamma ", "Γ")) | "\\delta" -> LITERAL (HTMLABLEC (FONT_UF, "\\delta ", "δ")) | "\\Delta" -> LITERAL (HTMLABLEC (FONT_UF, "\\Delta ", "Δ")) - | "\\epsilon" -> LITERAL (HTMLABLEC (FONT_UF, "\\epsilon ", "ε")) + | "\\epsilon" -> LITERAL (TEX_ONLY "\\epsilon ") | "\\Epsilon" -> (tex_use_ams (); LITERAL (HTMLABLEC (FONT_UF, "\\mathrm{E}", "Ε"))) | "\\varepsilon" -> LITERAL (TEX_ONLY "\\varepsilon ") -- 2.20.1