]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Extend LATEXIFY command param handling and add literal param.
[lyx.git] / src / LaTeX.cpp
index 67c3457430893d1334b7f5ac925028fc3f879903..bb7f3ea63d4b46c12e161f5b293a8333d43485c9 100644 (file)
@@ -18,6 +18,7 @@
 #include "BufferList.h"
 #include "LaTeX.h"
 #include "LyXRC.h"
+#include "LyX.h"
 #include "DepTable.h"
 
 #include "support/debug.h"
@@ -895,8 +896,9 @@ int LaTeX::scanLogFile(TeXErrors & terr)
                                                 from_local8bit("pdfTeX Error"),
                                                 from_local8bit(token),
                                                 child_name);
-                       } else if (prefixIs(token, "Missing character: There is no ")
-                                          && !contains(token, "nullfont")) {
+                       } else if (!ignore_missing_glyphs
+                                  && prefixIs(token, "Missing character: There is no ")
+                                  && !contains(token, "nullfont")) {
                                // Warning about missing glyph in selected font
                                // may be dataloss (bug 9610)
                                // but can be ignored for 'nullfont' (bug 10394).