Pavel Sanda <[EMAIL PROTECTED]> writes:

> 
> > I came across the situation when some of my older lyx files could no longer 
> > compile under new versions of LyX. 

Well, the file is about 5 years old, and I haven't tried to compile it since, so
the problem may actually be there quite a long time...

> 
> looking on the commit history this line has been introduced by Herbert
> http://www.lyx.org/trac/changeset/3881
> and the only interesting change was made by 
> http://www.lyx.org/trac/changeset/5238
> both 6 years back, so i'm not sure what you mean by new version :)
> 
> but may be lyx2lyx do some nasty thing or detection of file_exists changed.

Yeah, I think it is the latter.
In changeset/3881 the detection is:
  (IsFileReadable(MakeAbsPath(params().filename, buf->filePath()))  

while now it is:
   isFileReadable(params().filename);

So it is checked by a different function, (lowercase is* in place of uppercase
Is*). So I guess that some detection (perhaps related to missing "MakeAbsPath")
is not being done.

Before I go further in investigating this I would like to know if there is a
general agreement whether files on latex paths (kpsewhich) should or should not
be visible to LyX.

Vasek

Reply via email to