##// END OF EJS Templates
Latexify formulas contained in html text....
Pablo Winant -
Show More
@@ -243,7 +243,7 b' var IPython = (function (IPython) {'
243 this.append_mime_type(json, toinsert);
243 this.append_mime_type(json, toinsert);
244 this.element.find('div.output').append(toinsert);
244 this.element.find('div.output').append(toinsert);
245 // If we just output latex, typeset it.
245 // If we just output latex, typeset it.
246 if (json.latex !== undefined) {
246 if ((json.latex !== undefined) || (json.html !== undefined)) {
247 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
247 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
248 };
248 };
249 };
249 };
@@ -295,7 +295,7 b' var IPython = (function (IPython) {'
295 this.append_mime_type(json, toinsert)
295 this.append_mime_type(json, toinsert)
296 this.element.find('div.output').append(toinsert);
296 this.element.find('div.output').append(toinsert);
297 // If we just output latex, typeset it.
297 // If we just output latex, typeset it.
298 if (json.latex !== undefined) {
298 if ( (json.latex !== undefined) || (json.html !== undefined) ) {
299 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
299 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
300 };
300 };
301 };
301 };
General Comments 0
You need to be logged in to leave comments. Login now