>>>>> "Joe" == Joe Orth <[EMAIL PROTECTED]> writes:

>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>>>>> "Joe" == Joe Orth <[EMAIL PROTECTED]> writes:
Joe> I have a lyx document that includes (inputs) several external
Joe> latex sources (tables and such).

Joe> When I am working on a table externally and attempt to
Joe> re-generate the postscript through lyx, lyx does not seem to pick
Joe> up any of my changes to the external file unless something in the
Joe> lyx document changes.

Jean-Marc> How do you include your documents? LyX tries to handle this
Jean-Marc> case, as far as I know.

Joe> I pull down the insert menu, to include file.  A dialog pops up,
Joe> I change the radio button to use input, and type in my filename.

Joe> Nothing fancy.  BTW, several of my colleagues that use lyx are
Joe> also having the same problem.

OK, I actually tried it and found what the bug is. A quick workaround
is to set '\use_tempdir false' to your .lyx/lyxrc file.

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.

JMarc

Reply via email to