Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| Lars, the problem is around line 660 of LaTeX.C: if an included file
| is in the same directory as the document, it will not be found by
| DepTable::update, since at that time the current directory is the tmp
| directory. You know this code much better than I do, so I'll let you
| have a look. A possible (simple?) fix would be to always give absolute
| paths in the .dep file.
Actually, after some more testing I realise that this will not fix
anything (but it is nices so I'll leave the fix in).
In Buffer::runLateX():
// generate the LaTeX file if necessary
if (!isDviClean() || a) {
makeLaTeXFile(name, org_path, false);
markDviDirty();
}
So we will only generate the LaTeX file if the parent document is
dirty.
What we could do is to makeLaTeXFile even if not needed.
And set markDviDirty() too.
This will make things a _tiny_ bit slower, but I think we will catch
the updates in external docs then.
I'll try it a bit, and if it works I will use that.
Lgb