The attached patch fixes http://bugzilla.lyx.org/show_bug.cgi?id=4625 by defining RevTeX's uppercase color names in the layout name. OK for branch too?

regards Uwe
Index: revtex4.layout
===================================================================
--- revtex4.layout	(revision 28082)
+++ revtex4.layout	(working copy)
@@ -22,7 +22,18 @@
 	Other                 "aps,manuscript"
 End
 
+Preamble
+	\definecolor{BLACK}{gray}{0}
+	\definecolor{WHITE}{gray}{1}
+	\definecolor{RED}{rgb}{1,0,0}
+	\definecolor{GREEN}{rgb}{0,1,0}
+	\definecolor{BLUE}{rgb}{0,0,1}
+	\definecolor{CYAN}{cmyk}{1,0,0,0}
+	\definecolor{MAGENTA}{cmyk}{0,1,0,0}
+	\definecolor{YELLOW}{cmyk}{0,0,1,0}
+EndPreamble
 
+
 Style Standard
 	Margin                Static
 	LatexType             Paragraph

Reply via email to