Angus Leeming wrote:
Paul A. Rubin wrote:
Ok, I think I see the problem, though not the solution. The first time
you view the document, LyX copies the graphics files into the temp
directory (which also houses any transformations of them done by
ImageMagick). When you perform step 2, I assume that you're performing
it on the original image file, not the copy in the temp buffer. LyX
does not know the image has changed.
Ermmm. That's not entirely true. LyX does indeed check whether the file has
changed when it generates the LaTeX source, so at that point the file in
the temp directory is updated. However, there's no mechanism at the moment
to propagate the information that, actually, we really do need to run the
document through the latex compiler again, even though the source hasn't
changed.
Maybe you could add an entry to bugzilla so that this doesn't get
forgotten?
Can do, but first let me clarify two things. You said LyX does check
for a changed graphic file _when it generates the LaTeX source_.
However, if the only thing you've done since the last LaTeX run is muck
around with the graphics file (not change the name of the file being
used, just change the content of the image file), what will tell LyX to
run LaTeX again? Second, when you say LyX checks for a changed graphic
file, does it check the file's last modification date, or does it just
look to see if the file name has changed?
Paul