From: Jens Frank Date: Sun, 27 May 2007 21:00:35 +0000 (+0000) Subject: (bug 7993) support mathematical symbol classes X-Git-Tag: 1.31.0-rc.0~52796 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=fa2fa2418382eb0059b635da77f2a587b7ac6d54;p=lhc%2Fweb%2Fwiklou.git (bug 7993) support mathematical symbol classes --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index cb5c0df1d3..79b9391261 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -88,6 +88,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 7432) Change language name for Aromanian (roa-rup) * (bug 908) Unexistent special pages now generate a red link. * (bug 7899) Added \hline and \vline to the list of allowed TeX commands +* (bug 7993) support mathematical symbol classes == MediaWiki API changes since 1.10 == diff --git a/math/texutil.ml b/math/texutil.ml index 3e4ee4db90..d9c57b82ec 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -704,7 +704,13 @@ let find = function | "\\nLeftrightarrow" -> (tex_use_ams (); LITERAL (TEX_ONLY "\\nLeftrightarrow ")) | "\\mathit" -> (tex_use_ams (); FUN_AR1hf ("\\mathit ", FONTFORCE_IT)) | "\\mathrm" -> (tex_use_ams (); FUN_AR1hf ("\\mathrm ", FONTFORCE_RM)) + | "\\mathord" -> (tex_use_ams (); FUN_AR1 "\\mathord ") | "\\mathop" -> (tex_use_ams (); FUN_AR1 "\\mathop ") + | "\\mathbin" -> (tex_use_ams (); FUN_AR1 "\\mathbin ") + | "\\mathrel" -> (tex_use_ams (); FUN_AR1 "\\mathrel ") + | "\\mathopen" -> (tex_use_ams (); FUN_AR1 "\\mathopen ") + | "\\mathclose" -> (tex_use_ams (); FUN_AR1 "\\mathclose ") + | "\\mathpunct" -> (tex_use_ams (); FUN_AR1 "\\mathpunct ") | "\\boldsymbol" -> (tex_use_ams (); FUN_AR1 "\\boldsymbol ") | "\\bold" -> (tex_use_ams (); FUN_AR1 "\\mathbf ") | "\\Bbb" -> (tex_use_ams (); FUN_AR1 "\\mathbb ")