Bo Peng wrote:
No, because the file could be ../a/nameclash.eps (or maybe I
misunderstand something).

I did not use subdirectories mainly because I am afraid of absolute
pathnames. For example, /path/a/A.lyx having figure
/path1/b/figure.eps. I do not know how to save figure.eps in the zip
file.
I see.  How about using subdirectories for anything that
really is below the document itself then?  This is a very common
case for a multi-part document with, say, one directory per chapter.

Files in outside paths can still be stored with name mangling,
possibly in a directory of its own.

I still think it is a powerful concept to have a lyx archive format
that "just works" with normal unzip too. This will work the other
way around too - a user zipping up a directory tree can
open this file directly with LyX - assuming he gave the archive the
same name as the main .lyx file within. :-)
This is nice for power users, and for scripting.

Helge Hafting


Reply via email to