On Sun, 26 Aug 2007 16:57:16 -0500 Bo Peng <[EMAIL PROTECTED]> wrote:
> On 8/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Author: vermeer > > Date: Sun Aug 26 22:32:58 2007 > > New Revision: 19813 > > > > URL: http://www.lyx.org/trac/changeset/19813 > > Log: > > Move background colour into the layout files -- for all collapsables > > I think this commit breaks tex2lyx. I get error messages like 'Color' > has not been declared. Yes you're right, thanks. The attached patch is needed. I don't like it bringing in Color, but I see no other way. - Martin
Index: TextClass.h =================================================================== --- TextClass.h (revision 19813) +++ TextClass.h (working copy) @@ -10,6 +10,7 @@ #ifndef LYXTEXTCLASS_H #define LYXTEXTCLASS_H +#include "Color.h" #include "Layout.h" #include "lyxlayout_ptr_fwd.h" Index: tex2lyx/Makefile.am =================================================================== --- tex2lyx/Makefile.am (revision 19807) +++ tex2lyx/Makefile.am (working copy) @@ -36,7 +36,9 @@ ../Layout.cpp \ ../TextClass.cpp \ ../TextClass.h \ - ../Lexer.cpp + ../Lexer.cpp \ + ../Color.cpp \ + ../Color.h BUILT_SOURCES = $(PCH_FILE)