summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
commitfee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/config.l
parentceb4115c7b941039411e1793e01239610ff112a2 (diff)
downloadDoxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index 3b2c426..7c37dea 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1451,6 +1451,13 @@ void Config::check()
gamma=240;
}
+ QCString mathJaxFormat = Config_getEnum("MATHJAX_FORMAT");
+ if (!mathJaxFormat.isEmpty() && mathJaxFormat!="HTML-CSS" &&
+ mathJaxFormat!="NativeMML" && mathJaxFormat!="SVG")
+ {
+ config_err("error: Unsupported value for MATHJAX_FORMAT: Should be one of HTML-CSS, NativeMML, or SVG\n");
+ Config_getEnum("MATHJAX_FORMAT")="HTML-CSS";
+ }
// add default words if needed
QStrList &annotationFromBrief = Config_getList("ABBREVIATE_BRIEF");