]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.cpp
Generate debug output for symbol macros as well
[features.git] / src / mathed / MathFactory.cpp
index d41d4558cc821dd8e20b03ea0045182dbc2a6f00..29d9a5f9a4839db950025e2e3991e2a563d15904 100644 (file)
@@ -151,7 +151,15 @@ void initSymbols()
                        string macro;
                        string requires;
                        is >> macro >> requires;
-                       MacroTable::globalMacros().insert(0, from_utf8(macro), requires);
+                       MacroTable::iterator it = MacroTable::globalMacros().insert(
+                                       0, from_utf8(macro), requires);
+                       // If you change the following output, please adjust
+                       // development/tools/generate_symbols_images.py.
+                       LYXERR(Debug::MATHED, "read symbol '" << to_utf8(it->first)
+                               << "  inset: macro"
+                               << "  draw: 0"
+                               << "  extra: "
+                               << "  requires: " << requires << '\'');
                        continue;
                }