On Friday 19 July 2002 10:08 am, R. Lahaye wrote: > The image loader can load the following directly: > Windows/OS2 BMP file, extension "bmp" > NASA/NOST FITS, extension "fits" > CompuServ GIF, extension "gif" > JPEG/JFIF format, extension "jpg" > Portable Pixmap, extension "ppm" > Portable Graymap, extension "pgm" > Portable Bitmap, extension "pbm" > SGI Iris, extension "sgi" > Tag Image File Format, extension "tif" > X11 Bitmap, extension "xbm" > X Window Dump, extension "xwd" > XPM format, extension "xpm" > > Of these, LyX recognises the following formats: > bmp, tiff, xpm
I don't understand this at all. Something isn't working here. > In InitColorLookup [rgb_db.c 85] can't find the rgb color database--No such Perhaps you should look in said file, now that xforms is open source? Were you to do so, then you'd find the following hard coded nonsense: 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 }; So, if rgb.txt isn't where xforms expects it to be, then it isn't surprising that things go wrong. Angus