]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
Fix bug 2474; partial fix for 1777. Added last_reference_ member to QRef class and...
[lyx.git] / src / bufferparams.C
index 2bdcf37fb4faaf696a988cb4fdc08029c97a5c4d..16e787321c11e9de275714e031156fdf2d5a8e0b 100644 (file)
@@ -435,8 +435,12 @@ string const BufferParams::readToken(LyXLex & lex, string const & token)
                // the layout file will be correctly loaded later.
                if (!getLyXTextClass().isTeXClassAvailable()) {
                        docstring const msg =
-                               bformat(_("The document uses a missing "
-                                                      "TeX class \"%1$s\".\n"), from_utf8(classname));
+                               bformat(_("The layout file requested by this document,\n"
+                                                "%1$s.layout,\n"
+                                                "is not usable. This is probably because a LaTeX\n"
+                                                "class or style file required by it is not\n"
+                                                "available. See the Customization documentation\n"
+                                                "for more information.\n"), from_utf8(classname));
                        Alert::warning(_("Document class not available"),
                                       msg + _("LyX will not be able to produce output."));
                }