This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<script type="text/x-mathjax-config;executed=true"> | |
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Startup",function () { | |
var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; | |
HTMLCSS.Font.checkWebFont = function (check,font,callback) { | |
if (check.time(callback)) return; | |
if (check.total === 0) { | |
HTMLCSS.Font.testFont(font); | |
setTimeout(check,200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from PyQt4.QtCore import QFile, QFileInfo, QTextStream, QUrl | |
from PyQt4.QtGui import QApplication | |
from PyQt4.QtWebKit import QWebView | |
pageSource = """<html><head> | |
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
</head><body> |
NewerOlder