diff options
author | monsta <[email protected]> | 2015-09-10 14:08:14 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-10 14:08:14 +0300 |
commit | d2f1cf64a6c026e79955966b85f9141e69a3404a (patch) | |
tree | d752108fd6b6c9a018b7dfef56777a65f4d5d5eb /backend/epub/epub-document.c | |
parent | feb98c4c3e21e34b1aeffc287531ff97a9d0616c (diff) | |
download | atril-d2f1cf64a6c026e79955966b85f9141e69a3404a.tar.bz2 atril-d2f1cf64a6c026e79955966b85f9141e69a3404a.tar.xz |
epub: drop embedded MathJax in favor of using distro-packaged one
closes https://github.com/mate-desktop/atril/issues/158
Diffstat (limited to 'backend/epub/epub-document.c')
-rw-r--r-- | backend/epub/epub-document.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c index c8354d2d..54d24e97 100644 --- a/backend/epub/epub-document.c +++ b/backend/epub/epub-document.c @@ -1642,8 +1642,7 @@ epub_document_add_mathJax(gchar* containeruri,gchar* documentdir) { gchar *containerfilename= g_filename_from_uri(containeruri,NULL,NULL); const gchar *backenddir = ev_backends_manager_get_backends_dir(); - GString *mathjaxdir = g_string_new(backenddir); - g_string_append_printf(mathjaxdir,"/epub/MathJax"); + GString *mathjaxdir = g_string_new("/usr/share/javascript/mathjax"); gchar *mathjaxref = g_filename_to_uri(mathjaxdir->str,NULL,NULL); gchar *nodedata = g_strdup_printf("%s/MathJax.js?config=TeX-AMS-MML_SVG",mathjaxref); |