diff --git a/lib/layouts/memoir.layout b/lib/layouts/memoir.layout index 959728429e..252f8bdc95 100644 --- a/lib/layouts/memoir.layout +++ b/lib/layouts/memoir.layout @@ -13,7 +13,8 @@ SecNumDepth 2 TocDepth 2 DefaultStyle Standard PageStyle Headings -Provides makeidx 1 +Provides makeidx 1 +Provides framed 1 ClassOptions diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index e63507db45..72ce130ca0 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -516,7 +516,7 @@ string const LaTeXFeatures::getPackages() const << "]{graphicx}\n"; } // shadecolor for shaded - if (mustProvide("framed") && mustProvide("color")) { + if (isRequired("framed") && mustProvide("color")) { RGBColor c = rgbFromHexName(lcolor.getX11Name(Color_shadedbg)); //255.0 to force conversion to double //NOTE As Jürgen Spitzmüller pointed out, an alternative would be