mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
42f3439032
commit
7dc9a727b9
Binary file not shown.
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user