>>>>> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

Amir> If I have \use_tempdir false, then lyx uses . for creating its
Amir> temporary files. I recently realized that if I relyx a.tex, and
Amir> then edit a.lyx with use_tempdir false, then a.tex will be
Amir> overwritten. I wrote "bug report?" with the question mark
Amir> because I'm not sure there's anything we can do about it.  After
Amir> all, you can't say "don't overwrite a.tex" because LyX always
Amir> overwrites its temporary .tex files. I guess the best thing I
Amir> can think of is this: when you open foo.lyx, then if use_tempdir
Amir> is false and foo.tex exists, then popup a warning that foo.tex
Amir> will be overwritten.

Yes, but this will be everytime, since the generated files are not
deleted (AFAIK). A solution might be to check whether a .dep file is
present and whether the .tex has the same CRC as indicated in the .dep
file.

Lars, is it doable? Worth doing?

JMarc

Reply via email to