]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetNote.cpp
index 02f47ba30e78075cc6385168b9ea902bdd778d5e..9f4c5ed1d0349b130c81a6bf214db737b183bd1a 100644 (file)
@@ -312,6 +312,8 @@ void InsetNote::validate(LaTeXFeatures & features) const
                        features.useInsetLayout(getLayout());
                break;
        case InsetNoteParams::Greyedout:
+               if (features.hasRTLLanguage())
+                       features.require("environ");
                InsetCollapsible::validate(features);
                break;
        case InsetNoteParams::Note: