summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-11-18 21:43:28 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-11-18 21:43:28 (GMT)
commit1a68946cfa3e3ee749a683fdabc93e6b5311adeb (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/config.l
parent9c9313827b29876de43ad5305fd7ac162013359c (diff)
downloadDoxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.zip
Doxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.tar.gz
Doxygen-1a68946cfa3e3ee749a683fdabc93e6b5311adeb.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");