MathJax.Hub.Config({ extensions: ['TeX/cancel.js', 'TeX/mhchem.js'], tex2jax: {inlineMath: [['$$', '$$'], ['\\\\(', '\\\\)'], ['\\(', '\\)']]}, processUpdateDelay: 0, processUpdateTime: 0, showProcessingMessages: false, jax: ['input/TeX', 'output/HTML-CSS'], displayAlign: 'left', displayIndent: '2.2em', showMathMenu: true, 'HTML-CSS': { availableFonts: ['STIX', 'TeX'], preferredFont: 'STIX', webFont: 'STIX-Web', undefinedFamily: 'STIXGeneral, \'Arial Unicode MS\', serif' } });--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You're not listening to what I said...is there a way to specify the mathjax base url? That would go a long way...
You're not listening to what I said...is there a way to specify the mathjax base url? That would go a long way...
--
MathJax.Hub.Config({
path: 'foo',
root: 'bar'
})mjax.Ajax.config.root = 'foo';
module.exports = { resolve: { modulesDirectories: ['.', 'public/modules'], alias : { 'MathJax' : 'bower_components/MathJax/MathJax.js' } }, module: { loaders: [ // expose MathJax as a global, which is actually the configuration only at this point { test: /MathJaxConfig\.js/, loader: "expose?MathJax" }, // the import is just to get MathJaxConfig to go into the global { test: /MathJax\.js/, loader: "imports?MathJaxConfig!exports?MathJax" }, ] }, entry: "./public/index.js", output: { path: __dirname + "/dist", filename: "index.js" }};
module.exports = { delayStartupUntil : "configured", skipStartupTypeset: true, extensions: ["tex2jax.js"], jax: ["input/TeX", "output/HTML-CSS"], tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], displayMath: [ ['$$','$$'], ["\\[","\\]"] ], processEscapes: true }, "HTML-CSS": { availableFonts: ["TeX"] }, AuthorInit : function() { MathJax.Ajax.config.root = "MathJax"; MathJax.Hub.Configured(); }};
module.exports = { // configure Ajax path with configuration Ajax : { root : "MathJax"}, skipStartupTypeset: true, extensions: ["tex2jax.js"], jax: ["input/TeX", "output/HTML-CSS"], tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], displayMath: [ ['$$','$$'], ["\\[","\\]"] ], processEscapes: true }, "HTML-CSS": { availableFonts: ["TeX"] }};