diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js index 353c00ed9..e2924d5dc 100644 --- a/unpacked/MathJax.js +++ b/unpacked/MathJax.js @@ -1896,6 +1896,8 @@ MathJax.Hub = { mpContext: false, // true means pass menu events to MathPlayer in IE mpMouse: false, // true means pass mouse events to MathPlayer in IE texHints: true, // include class names for TeXAtom elements + FastPreview: true, // use PreviewHTML output as preview? + assistiveMML: true, // include hidden MathML for screen readers? inTabOrder: true, // set to false if math elements should be included in the tabindex semantics: false // add semantics tag with original form in MathML output }, diff --git a/unpacked/config/default.js b/unpacked/config/default.js index 6f92045d2..80e91a314 100644 --- a/unpacked/config/default.js +++ b/unpacked/config/default.js @@ -240,12 +240,17 @@ MathJax.Hub.Config({ ALT: false, // require Alt or Option? CMD: false, // require CMD? Shift: false, // require Shift? + discoverable: false, // make math menu discoverable on hover? zscale: "200%", // the scaling factor for MathZoom + renderer: "", // set when Jax are loaded font: "Auto", // what font HTML-CSS should use context: "MathJax", // or "Browser" for pass-through to browser menu + locale: "en", // the language to use for messages mpContext: false, // true means pass menu events to MathPlayer in IE mpMouse: false, // true means pass mouse events to MathPlayer in IE texHints: true, // include class names for TeXAtom elements + FastPreview: true, // use PreviewHTML output as preview? + assistiveMML: true, // include hidden MathML for screen readers? inTabOrder: true, // set to true if math elements should be included in the tabindex semantics: false // add semantics tag with original form in MathML output }, diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js index 360231487..956aa2d40 100644 --- a/unpacked/extensions/MathMenu.js +++ b/unpacked/extensions/MathMenu.js @@ -1543,16 +1543,16 @@ ), ITEM.RULE(), ITEM.SUBMENU(["Renderer","Math Renderer"], {hidden:!CONFIG.showRenderer}, - ITEM.RADIO("HTML-CSS", "renderer", {action: MENU.Renderer}), - ITEM.RADIO("Common HTML","renderer", {action: MENU.Renderer, value:"CommonHTML"}), - ITEM.RADIO("Fast HTML", "renderer", {action: MENU.Renderer, value:"PreviewHTML"}), - ITEM.RADIO("MathML", "renderer", {action: MENU.Renderer, value:"NativeMML"}), - ITEM.RADIO("SVG", "renderer", {action: MENU.Renderer}), - ITEM.RADIO("PlainSource","renderer", {action: MENU.Renderer, value:"PlainSource"}), + ITEM.RADIO(["HTML-CSS","HTML-CSS"], "renderer", {action: MENU.Renderer}), + ITEM.RADIO(["CommonHTML","Common HTML"], "renderer", {action: MENU.Renderer, value:"CommonHTML"}), + ITEM.RADIO(["PreviewHTML","Preview HTML"],"renderer", {action: MENU.Renderer, value:"PreviewHTML"}), + ITEM.RADIO(["MathML","MathML"], "renderer", {action: MENU.Renderer, value:"NativeMML"}), + ITEM.RADIO(["SVG","SVG"], "renderer", {action: MENU.Renderer}), + ITEM.RADIO(["PlainSource","Plain Source"],"renderer", {action: MENU.Renderer, value:"PlainSource"}), ITEM.RULE(), - ITEM.CHECKBOX("Fast Preview", "FastPreview"), - ITEM.CHECKBOX("Assistive MathML", "assistiveMML", {action:MENU.AssistiveMML}), - ITEM.CHECKBOX("Include in Tab Order", "inTabOrder") + ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview"), + ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}), + ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder") ), ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer, disabled:!HUB.Browser.hasMathPlayer}, @@ -1579,7 +1579,7 @@ ITEM.RADIO(["NeoEulerWeb","Neo Euler (web)"], "font", {action: MENU.Font}) ), ITEM.SUBMENU(["ContextMenu","Contextual Menu"], {hidden:!CONFIG.showContext}, - ITEM.RADIO("MathJax", "context"), + ITEM.RADIO(["MathJax","MathJax"], "context"), ITEM.RADIO(["Browser","Browser"], "context") ), ITEM.COMMAND(["Scale","Scale All Math ..."],MENU.Scale),