On Tue, Mar 26, 2002 at 09:20:53AM +0100, Herbert Voss wrote: > Kayvan A. Sylvan wrote: > > >Latest CVS, a document that was loading just fine as of a few days ago... > >Now I can no longer ``View Postscript''.
I found the problem. A recent change makes LyX output the absolute path to the graphics file (instead of a relative path). This bombs on Cygwin (but works on Linux/Unix) because the path output looks like this: \includegraphics[% scale=0.4]{/home/Kayvan/src/calendar/dia/calgen.eps} Since I am using fpTeX and not a cygwin compiled tetex, this will not work. What's interesting is that at the beginning of the LaTeX file, LyX outputs: \def\input@path{{C:/cygwin/home/Kayvan/src/calendar/}} Now, adding the C:/cygwin to the beginning of the graphics file path causes it to work. If we are going to output the absolute path, we should make sure to output the right path for Cygwin-based systems. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
msg35457/pgp00000.pgp
Description: PGP signature