Oscar Lopez wrote:

> Quoting Georg Baum
> <[EMAIL PROTECTED]>:
>  > [EMAIL PROTECTED] wrote:
>  >
>  >> I thought that external inset shipped with 1.4.x was able to manage
>  >> this situation, perhaps I am wrong.
>  >
>  > It should. Please send a minimal example .lyx file + .fig file, so that
>  > we can reproduce the problem.
> 
> Attached a minimal example

Thanks. You have found a bug in the xfig template. I filed it here:
http://bugzilla.lyx.org/show_bug.cgi?id=2716

The problem is that the latex code generated by xfig requirers the color
package, but the template does not request it.
You can fix this yourself: Open the external_templates file (to be found in
the LyX resoureces directory) with a text editor. Search for a line
beginning with "Template XFig" Then put a line

Requirement "color"

in front of the next two occurences of 

Requirement "graphicx". After that your example file should work just fine.
If it does not, please tell.


Georg

Reply via email to