>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> It is indeed. Like I said Lars I think the problem is that
John> InsetExternal looks at Buffer::niceFile which is not initialised
John> at that point. I think.

John> THe question is, if this can happen, what sense does looking at
John> niceFile there make ??

Jean-Marc> It seems that the idea is to use full path when trying to
Jean-Marc> run latex.

Jean-Marc> I think that initializing niceFile to true in Buffer
Jean-Marc> constructor should do the trick. It should initialized,
Jean-Marc> anyway.

I did further research and this points to a fix from Kayvan. The
relevant changelog entry is:

2001-10-31  Kayvan A. Sylvan  <[EMAIL PROTECTED]>

        * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
        external_templates) to use the buffer->fileName() but only if
        previewing. Generating a TeX file should make FPath return
        "".

So the problem seems to be that lyxskak.sty does not honor
\input@path, so that $$FPath is needed there. I'll come up with a
patch soon.

JMarc

Reply via email to