> I tried using updateParam() after introducing getTeXFile, but that > didn't work. The problem is that there's no way to tell when you get > back from EmbeddedFiles what the ORIGINAL path was. Things like: biblio, > ../biblio, /home/me/biblio, etc, all look the same to EmbeddedFiles at > that point, because it just has an absolute path. So I more or less went > back to the old code, fixed up a bit.
There are problems with your approach as well. When EmbeddedFile is copied to another buffer, with a different bufferPath, bib1.bst automatically becomes, for example, buffer1/bib1.bst. I can not see how this is possible with your approach. There must be a better way to handle this relative path mess.... Bo