http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68846

Revision: 68846
Author:   conrad
Date:     2010-07-01 19:11:22 +0000 (Thu, 01 Jul 2010)

Log Message:
-----------
texvc +\bcancel and \xcancel to make full use of the cancel package

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/math/texutil.ml

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2010-07-01 18:37:01 UTC (rev 68845)
+++ trunk/phase3/RELEASE-NOTES  2010-07-01 19:11:22 UTC (rev 68846)
@@ -97,6 +97,7 @@
 * (bug 8507) Group file links by namespace:title on image pages
 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
   well-formed XML
+* texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
 
 === Bug fixes in 1.17 ===
 * (bug 17560) Half-broken deletion moved image files to deletion archive

Modified: trunk/phase3/math/texutil.ml
===================================================================
--- trunk/phase3/math/texutil.ml        2010-07-01 18:37:01 UTC (rev 68845)
+++ trunk/phase3/math/texutil.ml        2010-07-01 19:11:22 UTC (rev 68846)
@@ -512,6 +512,8 @@
     | "\\over"             -> FUN_INFIXh ("\\over ", fun num den -> 
Html.html_render num, "<hr style=\"{background: black}\"/>", Html.html_render 
den)
     | "\\sqrt"             -> FUN_AR1 "\\sqrt "
     | "\\cancel"           -> FUN_AR1 "\\cancel "
+    | "\\bcancel"           -> FUN_AR1 "\\bcancel "
+    | "\\xcancel"           -> FUN_AR1 "\\xcancel "
     | "\\cancelto"         -> FUN_AR2 "\\cancelto "
     | "\\pmod"             -> FUN_AR1hl ("\\pmod ", ("(mod ", ")"))
     | "\\bmod"             -> FUN_AR1hl ("\\bmod ", ("mod ", ""))



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to