diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-11-17 21:22:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-11-17 21:22:48 (GMT) |
commit | 720d85edd0316e1cedec3402e204ce418174305d (patch) | |
tree | 0c7c3ab3d6f38e212b2cd4a4628e3c9d32d49db3 /src/htmlgen.cpp | |
parent | 8491e9fbd06ef8a8f1cc542a524c673d7781d4b6 (diff) | |
download | Doxygen-720d85edd0316e1cedec3402e204ce418174305d.zip Doxygen-720d85edd0316e1cedec3402e204ce418174305d.tar.gz Doxygen-720d85edd0316e1cedec3402e204ce418174305d.tar.bz2 |
Release-1.7.5.1-20111117
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 0e3a158..c9318fa 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -33,7 +33,7 @@ #include "htmlhelp.h" #include "docparser.h" #include "htmldocvisitor.h" -#include "index.h" +#include "searchindex.h" #include "pagedef.h" #include "debug.h" #include "dirdef.h" @@ -992,7 +992,7 @@ static QCString substituteHtmlKeywords(const QCString &s,const char *title, { path.prepend(relPath); } - mathJaxJs = "<script src=\"" + path + "MathJax.js\">\n" + mathJaxJs = "<script type=\"text/x-mathjax-config\">\n" " MathJax.Hub.Config({\n" " extensions: [\"tex2jax.js\""; QStrList &mathJaxExtensions = Config_getList("MATHJAX_EXTENSIONS"); @@ -1006,6 +1006,7 @@ static QCString substituteHtmlKeywords(const QCString &s,const char *title, " jax: [\"input/TeX\",\"output/HTML-CSS\"],\n" "});\n" "</script>"; + mathJaxJs += "<script src=\"" + path + "MathJax.js\"></script>\n"; } // first substitute generic keywords |