On Fri, Apr 13, 2001 at 02:28:16PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
>
> Dekel> Here is a patch that does this (I can't apply it due to network
> Dekel> problems)
>
> OK, I see you applied it. Good. Does it fix all our re-run problems?
Partially.
The problem occur when the regular expression matched
"foo.eps (Eps Graphics File)" instead of "foo.eps", and the space in the
.dep file caused bad things.
With my patch, "foo.eps (Eps Graphics File)" will not be inserted to the dep
file, but "foo.eps" is also not inserted to the dep file, so LyX won't rerun
latex when only foo.eps is updated.
PS: I think that the line "if (contains(foundfile,' ')) continue;" should
also be added (or alternatively, the depfile code should be able to handle
spaces in filenames)
And now for a different problem that need to be fixed:
If the path to the LyX file contains spaces, then the latex run will cause
a "missing \begin{document}" error (due to the \input@path command).
The following patch will generate a less cryptic error message.
Should it be applied or does anyone have a better idea ?
(one possible solution is to create a symbolic link, but this will not work
on Windows9x).
patch.gz