]> git.lyx.org Git - lyx.git/blobdiff - src/BufferEncodings.cpp
de.po
[lyx.git] / src / BufferEncodings.cpp
index 2cd07f2c2905d785c629a209543ca51ae43e5b7d..82fd3dc7159906a1e98bedbbd39b15359d9b682f 100644 (file)
@@ -93,7 +93,10 @@ void BufferEncodings::validate(char_type c, LaTeXFeatures & features, bool for_m
                                        while (!feats.empty()) {
                                                string feat;
                                                feats = split(feats, feat, ',');
-                                               features.require(feat);
+                                               // context-dependent features are handled
+                                               // in Paragraph::Private::validate()
+                                               if (!contains(feat, '='))
+                                                       features.require(feat);
                                        }
                                } else
                                        features.addPreambleSnippet(from_utf8(textpreamble));