Changed MathJax configuration so that it works with scribble-math.

This commit is contained in:
Georges Dupéron 2016-08-10 23:45:21 +02:00
parent 03bdcc592f
commit f5752a1dfd

View File

@ -281,7 +281,7 @@ MathJax.Hub.Config({
// be able to handle that. // be able to handle that.
// //
inlineMath: [ inlineMath: [
// ['$','$'], // uncomment this for standard TeX math delimiters ['$','$'], // uncomment this for standard TeX math delimiters
['\\(','\\)'] ['\\(','\\)']
], ],
@ -328,7 +328,7 @@ MathJax.Hub.Config({
// in the class name. Assigning an element this class name will // in the class name. Assigning an element this class name will
// prevent `tex2jax` from processing its contents. // prevent `tex2jax` from processing its contents.
// //
ignoreClass: "tex2jax_ignore", ignoreClass: ".*", //"tex2jax_ignore",
// //
// This is the class name used to mark elements whose contents SHOULD // This is the class name used to mark elements whose contents SHOULD
@ -341,7 +341,7 @@ MathJax.Hub.Config({
// restart processing within an element that has been marked as // restart processing within an element that has been marked as
// ignored above. // ignored above.
// //
processClass: "tex2jax_process", processClass: "tex-math" //"tex2jax_process",
// //
// Set to "true" to allow \$ to produce a dollar without starting in-line // Set to "true" to allow \$ to produce a dollar without starting in-line