From d2f1cf64a6c026e79955966b85f9141e69a3404a Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 10 Sep 2015 14:08:14 +0300 Subject: epub: drop embedded MathJax in favor of using distro-packaged one closes https://github.com/mate-desktop/atril/issues/158 --- backend/epub/epub-document.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backend/epub/epub-document.c') 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); -- cgit v1.2.1