]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.C
enable buffer-export without loading the GUI.
[features.git] / src / mathed / MathFactory.C
index 6bc40bbea90b7e012d284e83ecf55ed00e8be955..60b0a6c09ee30c009b24de52ca4336b75585e35f 100644 (file)
@@ -74,6 +74,9 @@ using std::istringstream;
 
 bool has_math_fonts;
 
+namespace lyx {
+extern bool use_gui;
+}
 
 namespace {
 
@@ -227,7 +230,8 @@ void initMath()
        if (!initialized) {
                initialized = true;
                initParser();
-               initSymbols();
+               if (lyx::use_gui)
+                       initSymbols();
        }
 }