Paul A. Rubin wrote: > Sven Schreiber wrote: > >> How can I force lyx to run a latex cycle when only an included graphics >> file has changed? >> >> Lyx doesn't seem to notice the change (which I understand) and therefore >> only offers the output from the buffer with the old graphic. >> >> Workaround is to close and reopen the lyx-file, but surely this is not >> really necessary? >> >> Thanks, Sven >> > I've experienced this myself. Easier workaround: insert a space > (anywhere) and then delete it, so that LyX thinks the document has changed. >
Paul, that was the first thing I tried, but it didn't work (although normally I agree it works). At least in this situation, Lyx apparently understands that nothing has changed. Instead of closing the file, however, I can also 1. insert a word, 2. update, 3. delete the word, 4. update, and all is as it should be. Actually it is difficult to construct a simple test case, so this seems to be a rather subtle bug that is triggered only in special circumstances. Maybe it helps to describe the situation where it occurred: 1. I have a lyx document with pdf graphics included (lyx 1.3.6 on win 2000, could also try xp, haven't tried yet) 2. I edit one graph by updating the .eps, and then running it through eps2pdf.exe (a wrapper around ghostscript, I believe) which updates the .pdf. 3. Then I try "update" in lyx and... no latex run, so nothing changes. I could do more testing if somebody tells me in which direction. -Sven
