José Matos wrote:
On Thursday 03 April 2008 03:24:04 Bo Peng wrote:
I guess this solves all the problem. Any objection?
No.
I have one remark though, with your proposal the absolute path of the
embedded files is need no longer. In that case I propose to drop it. As I
said in another thread if you want to keep as part of the session that is OK
but it should not be in the lyx file/bundle. That is/was my problem with the
initial proposal.
I am not sure what happens on windows but on linux if you compress a file
with an absolute path the archive program will drop the first / and extract
the resulting files with a relative path. I think that this is sane and this
what I would like lyx to do. Does that makes sense to you?
On Bo's proposal, the absolute path is really irrelevant. Once the file
is bundled, it's bundled, and the original path is irrelevant. It's used
to calculate the pathname used in the zipped file, from which the
original location could be reconstructed. But if you don't any more care
about the original location, since we'll never write there, it isn't
even needed for that. So you can assign an arbitrary location in the
document directory, and of course that can be specified as a relative path.
rh