summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
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");