summaryrefslogtreecommitdiff
path: root/backend/epub/epub-document.c
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-09-23 16:05:46 +0100
committerMartin Wimpress <[email protected]>2015-09-23 16:05:46 +0100
commit78582859d0e2d9bc8fa2818dcd9ac9ab2bd482fd (patch)
treed752108fd6b6c9a018b7dfef56777a65f4d5d5eb /backend/epub/epub-document.c
parentfeb98c4c3e21e34b1aeffc287531ff97a9d0616c (diff)
parentd2f1cf64a6c026e79955966b85f9141e69a3404a (diff)
downloadatril-78582859d0e2d9bc8fa2818dcd9ac9ab2bd482fd.tar.bz2
atril-78582859d0e2d9bc8fa2818dcd9ac9ab2bd482fd.tar.xz
Merge pull request #160 from monsta/mathjax
epub: drop embedded MathJax in favor of using distro-packaged one
Diffstat (limited to 'backend/epub/epub-document.c')
-rw-r--r--backend/epub/epub-document.c3
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);