> We should decide. Notice that this more general than this case, the same
> resolution will be used by lyx2lyx to revert to pre-embedded state.
Currently, lyx tries to extract a file. It checks (line 127,
embeddedFiles.cpp) for overwrite only when both files exists and are
different.
fs::exists(ext_file) && fs::exists(emb_file) && status_ == EMBEDDED
&& sum(*this) != sum(FileName(emb_file))
In lyx2lyx, a default behavior has to be defined.
> I agree. I would like to know what is the gain that compensates for the pain
> of understanding the concept. :-)
Mostly, the continuous use of external files in the latex way.
> Auto is un-natural (whatever that means :-). It would be quite to ask lyx to
> change any file to a self-contained file with all the external references
> with a single action.
Select all the files in the embedding panel, and select embed.
> Notice that even if we go with auto I suggest to separate the current
> implementation. We should have the state regarding the embedded feature in
> Document->Settings with the dock taking care of the details.
Document->Settings can add something like 'default embedding mode'.
Cheers,
Bo