| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- (function() {
- window.MathJax =
- {
- options:
- {
- skipHtmlTags: {'[+]': ['text']},
- ignoreHtmlClass: 'geDisableMathJax'
- },
- loader:
- {
- load: [(window.opener.urlParams['math-output'] == 'html') ?
- 'output/chtml' : 'output/svg', 'input/tex',
- 'input/asciimath', 'ui/safe']
- },
- startup:
- {
- ready: function()
- {
- MathJax.startup.defaultReady();
- MathJax.startup.promise.then(function()
- {
- if (window.IMMEDIATE_PRINT)
- {
- window.print();
- }
- });
- }
- }
- };
- var s = document.createElement('script');
- s.setAttribute('type', 'text/javascript');
- s.setAttribute('src', window.opener.DRAW_MATH_URL + '/startup.js');
-
- var t = document.getElementsByTagName('script')[0];
-
- if (t != null)
- {
- t.parentNode.insertBefore(s, t);
- }
- })();
|