From: Derk-Jan Hartman Date: Mon, 17 May 2010 20:03:32 +0000 (+0000) Subject: Fix bug 16573. Force consistent rendering of \epsilon by always using serverside... X-Git-Tag: 1.31.0-rc.0~36808 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=2b1b700fd6337733517661fbb36dbf80e6665855;p=lhc%2Fweb%2Fwiklou.git Fix bug 16573. Force consistent rendering of \epsilon by always using serverside PNG rendering. --- 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 ")