>  > I want to share the same files across different lyx
>  > documents, so I do not want to keep local copies. The link solution
>  > was suggested but it does not really work.
>
>   As I said it is extremely easy to create a file text like this:
>
>  embbeded1       /path/to/embbeded1
>  embbeded2       /path/to/embbeded2
>  embbeded3       /path/to/embbeded3
>  embbeded4       /path/to/embbeded4

We are talking about files outside of lyx now. I would like to use the
same files in different .lyx files, as I am doing NOW with lyx 1.5.x.
I also want to be able to send these .lyx files, bundled, to others,
without all the hassles to copy or link files.

>   And since the lyx bundle is a zip archive to compare the file content
>  between embbeded1 and /path/to/embbeded1.
>
>   I have programs in python to walk inside R packages, that usually are tar.gz
>  packages, that extracts files, parse other files and so on in very few lines.
>  This solution works. And it keeps the data where where it belongs.

I do not know what you are talking about here. Why do you need to
compare embed1 and /path/to/embed1?

>  > Then you have to agree with the need to access out of tree files.
>
>  If we included them in the bundle they are no longer out of tree files.

As I have said, I would like to associate them with out of tree files,
for update or reference purpose, as we do NOW.

>  > My implementation has an embed-editing mode. That is basically the
>  > word/ooffice way of handling embedded objects. Right now, this is the
>  > mode to use when an embedded file is opened, until a user unbundle the
>  > file. Richard's solution always unbundles, so there is no such mode.
>
>   In a sense we already do this when we transfer the files to the temporary
>  directory to compile the lyx file. And this is what I suggest as well.

Not exactly. In the current implementation, say you have blah.lyx
file.png under a directory. file.png does not have to be embedded. In
your temp directory solution, your .lyx file is isolated from its
original directory because all files are external under that temp
directory.

Bo

Reply via email to