mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +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
@ -14,6 +14,7 @@ TocDepth 2
|
|||||||
DefaultStyle Standard
|
DefaultStyle Standard
|
||||||
PageStyle Headings
|
PageStyle Headings
|
||||||
Provides makeidx 1
|
Provides makeidx 1
|
||||||
|
Provides framed 1
|
||||||
|
|
||||||
|
|
||||||
ClassOptions
|
ClassOptions
|
||||||
|
@ -516,7 +516,7 @@ string const LaTeXFeatures::getPackages() const
|
|||||||
<< "]{graphicx}\n";
|
<< "]{graphicx}\n";
|
||||||
}
|
}
|
||||||
// shadecolor for shaded
|
// shadecolor for shaded
|
||||||
if (mustProvide("framed") && mustProvide("color")) {
|
if (isRequired("framed") && mustProvide("color")) {
|
||||||
RGBColor c = rgbFromHexName(lcolor.getX11Name(Color_shadedbg));
|
RGBColor c = rgbFromHexName(lcolor.getX11Name(Color_shadedbg));
|
||||||
//255.0 to force conversion to double
|
//255.0 to force conversion to double
|
||||||
//NOTE As Jürgen Spitzmüller pointed out, an alternative would be
|
//NOTE As Jürgen Spitzmüller pointed out, an alternative would be
|
||||||
|
Loading…
Reference in New Issue
Block a user