Allow \pagecolor and \definecolor in texvc
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 29 Nov 2009 16:45:17 +0000 (16:45 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 29 Nov 2009 16:45:17 +0000 (16:45 +0000)
\color was already allowed.  This permits a partial (although ugly)
workaround for bug 8 if anyone thinks it's actually worth it.  If not,
though, no harm done.

RELEASE-NOTES
math/texutil.ml

index 42af146..f11febb 100644 (file)
@@ -289,6 +289,7 @@ Hopefully we will remove this configuration var soon)
 * New wgCategories JavaScript global variable for userscripts.
 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
   membership in SpecialActiveusers
+* Allow \pagecolor and \definecolor in texvc
 
 === Bug fixes in 1.16 ===
 
index 5062b66..ad4fce1 100644 (file)
@@ -733,4 +733,6 @@ let find = function
     | "\\vbox"             -> raise (Failure "malformatted \\vbox")
     | "\\hbox"             -> raise (Failure "malformatted \\hbox")
     | "\\color"            -> (tex_use_color (); LITERAL (TEX_ONLY "\\color"))
+    | "\\pagecolor"        -> (tex_use_color (); LITERAL (TEX_ONLY "\\pagecolor"))
+    | "\\definecolor"      -> (tex_use_color (); LITERAL (TEX_ONLY "\\definecolor"))
     | s                    -> raise (Illegal_tex_function s)