On 07/27/2017 09:07 AM, Roberto wrote:
> Let me explain better. The reason for asking for a feature like that is
> not that I cannot clic one more time to unpack a tar.gz :)
> The tar.gz is an export, not a "Save", that is the difference. Save
> means that you can edit it and keep saving every now and then.
> Furthermore the two things are difference because you can even remove
> the pictures from the disk and you still have them in the file.
> What I am looking for is a LyX file that does as a MS Word file does:
> one editable file contains all you need to work on the document.
> One could achieve this if the LyX file was actually a directory
> structure managed by LyX and when you save the file you save all the
> directory structure controlled by it. The user does not need to see
> all the complications about where the pictures are stored, just needs
> to see the pictures in the file.

There was some discussion of such a file structure, and I did a bunch of
work on it myself a few years ago. But there were also disagreements
about how exactly it should work, so it never went anywhere. The archive
we have now was a kind of compromise. But note that it really is a
pretty good compromise. It gives you, precisely, a 'directory structure'
that contains all the files needed for that document. It's just that
it's packed into a zip file or whatever.

What it LyX was able to open such an archive directly? And what if, when
it had done so, it 'saved' the file directly to such an archive? I can
easily imagine the unpacking actually being done into the temporary
directory. This might not be very hard to achieve.


Reply via email to