]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetGraphics.cpp
index c661d969ef1eca62600167f802595f897ec4d6c4..92de4c043f8f98386671fbaa541b3072aafc77e3 100644 (file)
@@ -902,9 +902,9 @@ void InsetGraphics::latex(otexstream & os,
        if (!uncodable.empty() && !runparams.silent) {
                // issue a warning about omitted characters
                // FIXME: should be passed to the error dialog
-               frontend::Alert::warning(_("Uncodable characters in path"),
+               frontend::Alert::warning(_("Uncodable character in file path"),
                        bformat(_("The following characters in one of the graphic paths are\n"
-                                 "not representable in the current encoding and have been omitted: %1$s."
+                                 "not representable in the current encoding and have been omitted: %1$s.\n"
                                  "You need to adapt either the encoding or the path."),
                        uncodable));
        }
@@ -1136,6 +1136,10 @@ void InsetGraphics::validate(LaTeXFeatures & features) const
                if (contains(rel_file, "."))
                        features.require("lyxdot");
        }
+       if (features.inDeletedInset()) {
+               features.require("tikz");
+               features.require("ct-tikz-object-sout");
+       }
 }