Bring menuSettings up to date in MathJax.js and default.js, and add localization IDs for menu items where they were missing (i.e, implied).
This commit is contained in:
parent
32c540b355
commit
6000aa1d78
|
@ -1896,6 +1896,8 @@ MathJax.Hub = {
|
||||||
mpContext: false, // true means pass menu events to MathPlayer in IE
|
mpContext: false, // true means pass menu events to MathPlayer in IE
|
||||||
mpMouse: false, // true means pass mouse events to MathPlayer in IE
|
mpMouse: false, // true means pass mouse events to MathPlayer in IE
|
||||||
texHints: true, // include class names for TeXAtom elements
|
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
|
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
|
semantics: false // add semantics tag with original form in MathML output
|
||||||
},
|
},
|
||||||
|
|
|
@ -240,12 +240,17 @@ MathJax.Hub.Config({
|
||||||
ALT: false, // require Alt or Option?
|
ALT: false, // require Alt or Option?
|
||||||
CMD: false, // require CMD?
|
CMD: false, // require CMD?
|
||||||
Shift: false, // require Shift?
|
Shift: false, // require Shift?
|
||||||
|
discoverable: false, // make math menu discoverable on hover?
|
||||||
zscale: "200%", // the scaling factor for MathZoom
|
zscale: "200%", // the scaling factor for MathZoom
|
||||||
|
renderer: "", // set when Jax are loaded
|
||||||
font: "Auto", // what font HTML-CSS should use
|
font: "Auto", // what font HTML-CSS should use
|
||||||
context: "MathJax", // or "Browser" for pass-through to browser menu
|
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
|
mpContext: false, // true means pass menu events to MathPlayer in IE
|
||||||
mpMouse: false, // true means pass mouse events to MathPlayer in IE
|
mpMouse: false, // true means pass mouse events to MathPlayer in IE
|
||||||
texHints: true, // include class names for TeXAtom elements
|
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
|
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
|
semantics: false // add semantics tag with original form in MathML output
|
||||||
},
|
},
|
||||||
|
|
|
@ -1543,16 +1543,16 @@
|
||||||
),
|
),
|
||||||
ITEM.RULE(),
|
ITEM.RULE(),
|
||||||
ITEM.SUBMENU(["Renderer","Math Renderer"], {hidden:!CONFIG.showRenderer},
|
ITEM.SUBMENU(["Renderer","Math Renderer"], {hidden:!CONFIG.showRenderer},
|
||||||
ITEM.RADIO("HTML-CSS", "renderer", {action: MENU.Renderer}),
|
ITEM.RADIO(["HTML-CSS","HTML-CSS"], "renderer", {action: MENU.Renderer}),
|
||||||
ITEM.RADIO("Common HTML","renderer", {action: MENU.Renderer, value:"CommonHTML"}),
|
ITEM.RADIO(["CommonHTML","Common HTML"], "renderer", {action: MENU.Renderer, value:"CommonHTML"}),
|
||||||
ITEM.RADIO("Fast HTML", "renderer", {action: MENU.Renderer, value:"PreviewHTML"}),
|
ITEM.RADIO(["PreviewHTML","Preview HTML"],"renderer", {action: MENU.Renderer, value:"PreviewHTML"}),
|
||||||
ITEM.RADIO("MathML", "renderer", {action: MENU.Renderer, value:"NativeMML"}),
|
ITEM.RADIO(["MathML","MathML"], "renderer", {action: MENU.Renderer, value:"NativeMML"}),
|
||||||
ITEM.RADIO("SVG", "renderer", {action: MENU.Renderer}),
|
ITEM.RADIO(["SVG","SVG"], "renderer", {action: MENU.Renderer}),
|
||||||
ITEM.RADIO("PlainSource","renderer", {action: MENU.Renderer, value:"PlainSource"}),
|
ITEM.RADIO(["PlainSource","Plain Source"],"renderer", {action: MENU.Renderer, value:"PlainSource"}),
|
||||||
ITEM.RULE(),
|
ITEM.RULE(),
|
||||||
ITEM.CHECKBOX("Fast Preview", "FastPreview"),
|
ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview"),
|
||||||
ITEM.CHECKBOX("Assistive MathML", "assistiveMML", {action:MENU.AssistiveMML}),
|
ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}),
|
||||||
ITEM.CHECKBOX("Include in Tab Order", "inTabOrder")
|
ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder")
|
||||||
),
|
),
|
||||||
ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer,
|
ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer,
|
||||||
disabled:!HUB.Browser.hasMathPlayer},
|
disabled:!HUB.Browser.hasMathPlayer},
|
||||||
|
@ -1579,7 +1579,7 @@
|
||||||
ITEM.RADIO(["NeoEulerWeb","Neo Euler (web)"], "font", {action: MENU.Font})
|
ITEM.RADIO(["NeoEulerWeb","Neo Euler (web)"], "font", {action: MENU.Font})
|
||||||
),
|
),
|
||||||
ITEM.SUBMENU(["ContextMenu","Contextual Menu"], {hidden:!CONFIG.showContext},
|
ITEM.SUBMENU(["ContextMenu","Contextual Menu"], {hidden:!CONFIG.showContext},
|
||||||
ITEM.RADIO("MathJax", "context"),
|
ITEM.RADIO(["MathJax","MathJax"], "context"),
|
||||||
ITEM.RADIO(["Browser","Browser"], "context")
|
ITEM.RADIO(["Browser","Browser"], "context")
|
||||||
),
|
),
|
||||||
ITEM.COMMAND(["Scale","Scale All Math ..."],MENU.Scale),
|
ITEM.COMMAND(["Scale","Scale All Math ..."],MENU.Scale),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user