mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* lib/layouts.memoir.layout:
- memoir.cls provides framed.sty. * src/LaTeXFeatures.cpp: - also output the shadecolor definition if framed.sty is provided by a class. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a250d1ab8c
commit
e0b4fc9da4
@ -13,7 +13,8 @@ SecNumDepth 2
|
||||
TocDepth 2
|
||||
DefaultStyle Standard
|
||||
PageStyle Headings
|
||||
Provides makeidx 1
|
||||
Provides makeidx 1
|
||||
Provides framed 1
|
||||
|
||||
|
||||
ClassOptions
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user