From 15130a013e1b4fd480ef6da3415dad39832b2171 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 2 Jun 2007 08:14:51 +0000 Subject: [PATCH] (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos --- RELEASE-NOTES | 1 + math/texutil.ml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e67261f806..97030ceb51 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -106,6 +106,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10007) Allow Block IP to work with Postgrs again. * Add Google Wireless Transcoder to the Unicode editing blacklist * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks +* (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos == MediaWiki API changes since 1.10 == diff --git a/math/texutil.ml b/math/texutil.ml index d9c57b82ec..6a405cb300 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -217,20 +217,20 @@ let find = function | "\\models" -> LITERAL (TEX_ONLY "\\models ") | "\\vdash" -> LITERAL (TEX_ONLY "\\vdash ") | "\\triangle" -> LITERAL (TEX_ONLY "\\triangle ") - | "\\bowtie" -> LITERAL (TEX_ONLY "\\bowtie ") + | "\\bowtie" -> LITERAL (TEX_ONLY "\\bowtie ") | "\\wr" -> LITERAL (TEX_ONLY "\\wr ") | "\\triangleleft" -> LITERAL (TEX_ONLY "\\triangleleft ") | "\\triangleright" -> LITERAL (TEX_ONLY "\\triangleright ") | "\\textvisiblespace" -> LITERAL (TEX_ONLY "\\textvisiblespace ") - | "\\ker" -> LITERAL (TEX_ONLY "\\ker ") + | "\\ker" -> LITERAL (HTMLABLEC(FONT_UFH,"\\ker ","ker")) | "\\lim" -> LITERAL (TEX_ONLY "\\lim ") | "\\limsup" -> LITERAL (TEX_ONLY "\\limsup ") | "\\liminf" -> LITERAL (TEX_ONLY "\\liminf ") | "\\sup" -> LITERAL (TEX_ONLY "\\sup ") | "\\Pr" -> LITERAL (TEX_ONLY "\\Pr ") - | "\\hom" -> LITERAL (TEX_ONLY "\\hom ") - | "\\arg" -> LITERAL (TEX_ONLY "\\arg ") - | "\\dim" -> LITERAL (TEX_ONLY "\\dim ") + | "\\hom" -> LITERAL (HTMLABLEC(FONT_UFH,"\\hom ","hom")) + | "\\arg" -> LITERAL (HTMLABLEC(FONT_UFH,"\\arg ","arg")) + | "\\dim" -> LITERAL (HTMLABLEC(FONT_UFH,"\\dim ","dim")) | "\\inf" -> LITERAL (TEX_ONLY "\\inf ") | "\\circ" -> LITERAL (TEX_ONLY "\\circ ") | "\\hbar" -> LITERAL (TEX_ONLY "\\hbar ") @@ -240,7 +240,7 @@ let find = function | "\\hookrightarrow" -> LITERAL (TEX_ONLY "\\hookrightarrow ") | "\\hookleftarrow" -> LITERAL (TEX_ONLY "\\hookleftarrow ") | "\\mp" -> LITERAL (TEX_ONLY "\\mp ") - | "\\approx" -> LITERAL (TEX_ONLY "\\approx ") + | "\\approx" -> LITERAL (HTMLABLE (FONT_UF, "\\approx ", "≈")) | "\\propto" -> LITERAL (TEX_ONLY "\\propto ") | "\\flat" -> LITERAL (TEX_ONLY "\\flat ") | "\\sharp" -> LITERAL (TEX_ONLY "\\sharp ") -- 2.20.1