On Wed, Jan 26, 2005 at 01:03:29PM -0700, LB wrote:
> Hello,
>
> When I generate Latex part (.pstex_t) of a xfig picture, xfig inserts:
> \color[rgb]{0,0,0} in front of every line of text in the pstex_t document.
> Lyx seem to have a problem with \color[rgb]{0,0,0}. As soon as edit
> .pstex_t file and remove \color[rgb]{0,0,0} Lyx becomes happy again.
>
> Is there a way of making Lyx understand .pstex_t file with that color
> command in it?
Quick & dirty: Define \def\color[#1]#2{} in your preamble - or better:
surrounded by ERT "{ \def\color..." <the figure> ERT "}".
Andre'