On Wed, Jul 25, 2007 at 05:20:12PM -0500, Bo Peng wrote: > > I am worried that simple manipulations of a lyx file (in order to > > overcome deficiencies in the GUI) become more complicated/impossible > > to perform. Then, I wonder how a zip file fits a version control > > system. > > I have heard you, and I have addressed this problem in my implementation. > > This patch does not touch file.lyx itself at all (no lyx2lyx) and > embedding can be disabled at will. That is to say, when you are > working on a file, with supporting files spreading around, you can > disable embedding and use your text editor to modify file.lyx, and use > your version control system. Then, when it is time to 'distribute' > your lyx file, you simply enable embedding and the supporting files > will be embedded with file.lyx. The GUI will also allow the > 'extraction' of embedded files and 'de-embedding' file.lyx, should you > later want to work on the embedded files. > > Because external files like figures tend to change, I feel that this > solution is better than the 'real embedding' solution used by other > applications (need to re-insert files if a figure changes, a big > headache), and better than the 'inline' embedding solution you > proposed (file.lyx does not have to change if you change a figure).
If I understand correctly what you are saying, this would be as having another save format by which all included files are packed together. If this is the case, I like it, indeed. > Any other concern? No, if things stand the way I understood them. -- Enrico
