please apply, otherwise graphics in deeper dir's than the doc have wrong dir. most of docs don't run. see former mail for the ref to the mail archive.
attached a patch which makes tgif run, too. Herbert -- http://www.lyx.org/help/
Index: src/insets/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v retrieving revision 1.382 diff -u -r1.382 ChangeLog --- src/insets/ChangeLog 8 Apr 2002 14:47:21 -0000 1.382 +++ src/insets/ChangeLog 8 Apr 2002 16:34:02 -0000 @@ -1,5 +1,10 @@ 2002-04-08 Herbert Voss <[EMAIL PROTECTED]> + * insetgraphicsparam.C: revert patch from Angus to get files run + which are in deeper dir's. + +2002-04-08 Herbert Voss <[EMAIL PROTECTED]> + * insetgraphicsparam.C: forgot special option and delete old 1.2.0 stuff Index: src/insets/insetgraphics.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetgraphics.C,v retrieving revision 1.102 diff -u -r1.102 insetgraphics.C --- src/insets/insetgraphics.C 6 Apr 2002 13:05:46 -0000 1.102 +++ src/insets/insetgraphics.C 8 Apr 2002 16:34:03 -0000 @@ -611,7 +611,7 @@ // return original filename without the extension // // if it's a zipped one, than let LaTeX do the rest!!! - string filename_ = params().filename; + string filename_ = MakeAbsPath(params().filename, buf->filePath()); bool const zipped = zippedFile(filename_); if ((zipped && params().noUnzip) || buf->niceFile) { @@ -622,7 +622,7 @@ // Enable these helper functions to find the file if it is stored as // a relative path. - Path p(buf->filePath()); +// Path p(buf->filePath()); if (zipped) filename_ = unzipFile(filename_); Index: src/support/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/ChangeLog,v retrieving revision 1.95 diff -u -r1.95 ChangeLog --- src/support/ChangeLog 8 Apr 2002 14:55:52 -0000 1.95 +++ src/support/ChangeLog 8 Apr 2002 16:34:03 -0000 @@ -1,3 +1,7 @@ +2002-04-08 Herbert Voss <[EMAIL PROTECTED]> + + * filetools.C (getExtFromContents): get tgif run + 2002-04-08 Angus Leeming <[EMAIL PROTECTED]> * filetools.C (getExtFromContents): re-format a little and remove Index: src/support/filetools.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/filetools.C,v retrieving revision 1.116 diff -u -r1.116 filetools.C --- src/support/filetools.C 8 Apr 2002 14:55:52 -0000 1.116 +++ src/support/filetools.C 8 Apr 2002 16:34:04 -0000 @@ -1090,7 +1090,7 @@ } else if ((stamp == "II") || (stamp == "MM")) { format = "tiff"; - } else if (str == "%TGIF") { + } else if (prefixIs(str,"%TGIF")) { format = "tgif"; } else if (prefixIs(str,"GIF")) {