]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
* allow resizing of detached panel
[lyx.git] / src / buffer.C
index 32960215b9eff2d7e94671dacb93dcec823e54b0..22eb727982f87bf98ff8cf097bc64165f2beacef 100644 (file)
@@ -143,7 +143,7 @@ using std::string;
 
 namespace {
 
-int const LYX_FORMAT = 253;
+int const LYX_FORMAT = 254;
 
 } // namespace anon
 
@@ -1162,9 +1162,11 @@ void Buffer::validate(LaTeXFeatures & features) const
                features.require("dvipost");
 
        // AMS Style is at document level
-       if (params().use_amsmath == BufferParams::AMS_ON
+       if (params().use_amsmath == BufferParams::package_on
            || tclass.provides(LyXTextClass::amsmath))
                features.require("amsmath");
+       if (params().use_esint == BufferParams::package_on)
+               features.require("esint");
 
        for_each(paragraphs().begin(), paragraphs().end(),
                 boost::bind(&Paragraph::validate, _1, boost::ref(features)));
@@ -1449,7 +1451,7 @@ docstring const Buffer::translateLabel(docstring const & label) const
                // Probably standard layout, try to translate
                return B_(to_ascii(label));
        else
-               // This must be a user defined layout. We can not translate
+               // This must be a user defined layout. We cannot translate
                // this, since gettext accepts only ascii keys.
                return label;
 }