PDF Output: Fix a regression that broke PDF Output for documents containing mathematics. Fixes #1673983 [Private bug](https://bugs.launchpad.net/calibre/+bug/1673983)

This commit is contained in:
Kovid Goyal 2017-03-19 12:43:56 +05:30
parent 42f3439032
commit 7dc9a727b9
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -32,7 +32,9 @@ class MathJax
scale = if is_windows then 160 else 100
script.type = 'text/javascript'
script.src = this.base + 'MathJax.js'
script.onerror = (ev) ->
console.log('Failed to load MathJax script: ' + ev.targt.src)
script.src = this.base + '/MathJax.js'
script.text = user_config + ('''
MathJax.Hub.signal.Interest(function (message) {if (String(message).match(/error/i)) {console.log(message)}});
MathJax.Hub.Config({