Index: src/config.l
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/config.l,v
retrieving revision 1.6.4.1
diff -u -r1.6.4.1 config.l
--- src/config.l 10 Feb 2013 17:58:09 -0000 1.6.4.1
+++ src/config.l 23 Feb 2013 19:30:41 -0000
@@ -1147,6 +1147,21 @@
exit(1);
}
}
+ // Test to see if MathJax code file is valid
+ if (Config_getBool("USE_MATHJAX"))
+ {
+ QCString &MathJaxCodeile = Config_getString("MATHJAX_CODEFILE");
+ if (!MathJaxCodeile.isEmpty())
+ {
+ QFileInfo fi(MathJaxCodeile);
+ if (!fi.exists())
+ {
+ config_err("error: tag MATHJAX_CODEFILE file `%s' "
+ "does not exist\n",MathJaxCodeile.data());
+ exit(1);
+ }
+ }
+ }
// Test to see if LaTeX header is valid
QCString &latexHeaderFile = Config_getString("LATEX_HEADER");
if (!latexHeaderFile.isEmpty())
Index: src/config.xml
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/config.xml,v
retrieving revision 1.9.2.1
diff -u -r1.9.2.1 config.xml
--- src/config.xml 16 Feb 2013 14:40:51 -0000 1.9.2.1
+++ src/config.xml 23 Feb 2013 19:30:50 -0000
@@ -1145,6 +1145,11 @@
names that should be enabled during MathJax rendering.
' depends='USE_MATHJAX'>
+