From fa2fa2418382eb0059b635da77f2a587b7ac6d54 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 27 May 2007 21:00:35 +0000 Subject: [PATCH] (bug 7993) support mathematical symbol classes --- RELEASE-NOTES | 1 + math/texutil.ml | 6 ++++++ 2 files changed, 7 insertions(+) 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 ") -- 2.20.1