Am Dienstag, 9. Januar 2007 16:46 schrieb Abdelrazak Younes: > Georg Baum wrote: > > This was simply designed to work exactly as it works in LaTeX. If we want to > > change that, then we should not store the filenames in a comma separated > > list, but use something similar to the new InsetCommandParams, and for each > > file store also a flag whether it comes from texmf or not. Using a "./" > > prefix for that is too fragile IMHO: "./xyz" will not be found using > > kpsewhich if it is not local, but "xyz" will both be found using kpsewhich > > and as a local file. > > But then, how does it works for files that are neither local nor in the > texmf tree?
findtexfile will return an empty FileName, and therefore such files will not be added to the cache. Those entries would still be contained in the LaTeX output, and if a user has a special installation where the latex compiler can find files that kpsewhich can not find then it will indeed work. However, these files are not considered when building the labels. I don't think that we can do any better than that. > >> Agreed but for me relative path means './toto' and not 'toto'. > > > > Concerning the file system that is the same. Both will work. This seems to > > be a personal preference. > > On windows yes but not on Unix I think. If that would not be true on linux (and it is also true on all other unices I know) I would not have stated that ;-) Georg