(bug 7993) support mathematical symbol classes
authorJens Frank <jeluf@users.mediawiki.org>
Sun, 27 May 2007 21:00:35 +0000 (21:00 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sun, 27 May 2007 21:00:35 +0000 (21:00 +0000)
RELEASE-NOTES
math/texutil.ml

index cb5c0df..79b9391 100644 (file)
@@ -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 ==
 
index 3e4ee4d..d9c57b8 100644 (file)
@@ -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 ")