> I think the approach in my patch can be made to work. I can embed the > file just fine, and it gets extracted just fine. But I have seen some > issues with latex output. Sometimes it works, sometimes it doesn't. But > I'm thinking this can be made to work. At the very least, we can give a > relative path to where the embedded file lives. What may be harder to > get right is Export>LaTeX. But I don't know if that worked right before. > If I Export>LaTeX, I may not even have extracted the bundled files.
So we have biblio in params, and EmbeddedFile(searched bioblio.bib)? This should work. If the file can not be located, we can just disable embedding of this file. I am not quite sure about latex output, which name is required here? In the embedded case, the .tex file is in temppath(), the bib file maybe in temppath(), or some directory under it. > What is supposed to happen if I embed /home/rgheck/pic.png, send the > file to someone, and then he tries to extract it? I just get an error > message in this kind of case. Perhaps one should be able to extract it > to some other location? People should be able to extract to another location. In case of implementation difficulties, maybe we can just extract to document path. I will have a look. Bo