This trivial patch fixes bug 2716 which was just reported on the users list:
http://bugzilla.lyx.org/show_bug.cgi?id=2716
It will go in soon.
Georg
Log:
Fix bug 2716:
* lib/external_templates
(XFig): Require the color package, since xfig generates LaTeX
code with \color.
Index: lib/external_templates
===================================================================
--- lib/external_templates (Revision 14503)
+++ lib/external_templates (Arbeitskopie)
@@ -118,6 +118,7 @@ Template XFig
Product "$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pstex_t}$$ResizeBack$$RotateBack"
UpdateFormat pstex
UpdateResult "$$AbsPath$$Basename.pstex_t"
+ Requirement "color"
Requirement "graphicx"
# Preamble WarnNotFound
# Preamble InputOrWarn
@@ -131,6 +132,7 @@ Template XFig
Product "$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pdftex_t}$$ResizeBack$$RotateBack"
UpdateFormat pdftex
UpdateResult "$$AbsPath$$Basename.pdftex_t"
+ Requirement "color"
Requirement "graphicx"
# Preamble WarnNotFound
# Preamble InputOrWarn