It works  8-)) i.e. XPM files can be viewed inside Lyx!

You wrote:
> To reiterate what Angus says, there is the following in rgb_db.c in
> xforms 1.0rc4:
>
> static char *rgbfile[] =
> {
>     "/usr/lib/X11/rgb.txt", /* typical */
>     "/usr/local/lib/X11/rgb.txt", /* try     */
> #if defined(sun) || defined(__sun__)
>     "/usr/openwin/lib/rgb.txt", /* Sun     */
> #endif
> #ifdef __EMX__
>     "/XFree86/lib/X11/rgb.txt", /* OS2     */
> #endif
> #ifdef __VMS
>     "SYS$MANAGER:DECW$RGB.DAT", /* vax */
> #endif
>     0
> };
>
>
> Obviously a case for cygwin is missing.

And indeed, a rgb.txt file is available with Xfree86 (not completely installed
on my system if you only use Xwin32 from Starnet as your X-server) and with
good old gvim60 (for Win32). If I place that file into to search path it' all
okay with inline image viewing.

So I'm thinking about a postinstall script that places a copy of rgb.txt into
the right place where xforms can find it! The Win32 release seems to be coming
soon ;-)

Claus

Claus


Reply via email to