MathJax: Ignore pagecolor command

This command was not yet supported. This implements it as a noop.
In MathJax it's not really useful to be able to define the background
color as sometimes is required in rendered png mode.

Bug 35186

Change-Id: If6573901bafd8599a01979bcbff89e52b51e4ffd
This commit is contained in:
Nageh 2013-04-28 14:12:12 +02:00 committed by Derk-Jan Hartman
parent f971af901f
commit 5f349cc9da
1 changed files with 3 additions and 2 deletions

View File

@ -118,8 +118,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
arcsec: 'NamedFn',
arccsc: 'NamedFn',
bold: ['Macro','\\boldsymbol'], // boldsymbol
href: 'NamedFn', // disable dangerous command
style: 'NamedFn' // disable dangerous command
href: 'NamedFn', // disable dangerous command
style: 'NamedFn', // disable dangerous command
pagecolor: ['Macro','',1] // ignore \pagecolor{}
}
});