Bo Peng wrote:
It depends upon whether the file is bundled or also wrapped. If the file is
just bundled, then there's just $DOC_DIR/filename.lyxdir.

So, if a user turns off 'compression', will $TEMP_DIR/filename.lyxdir
be moved to $DOC_DIR/filename.lyxdir?

Unless such a directory exists, in which case it'll be moved to a new empty directory, just as on your proposal. But of course, if you think something else should happen, it could.

Now, when I turn on 'compression', what will happen to $DOC_DIR/filename.lyxdir?

Nothing. Indeed, filename.lyx will still exist, and it will still be usable with filename.lyxdir. LyX is not in the business of deleting such things.

All of this makes perfect sense if you understand the difference between bundling and wrapping. If you don't, then I'm sure it's very puzzling indeed.

rh

Reply via email to