Abdelrazak Younes wrote: > You know what would be great instead of a lyx compressed file? A > portable lyx format. Quite frankly I don't see much the interest of > having the lyx text file compressed as it is alreday quite small even > for very big file. IMHO, a "portable lyx file" that would contains > everything necessary for this file (including include files and > graphics) would be much more convenient. > > Say I have a "test.lyx" file, I envision a python script that would > analyze the lyx file and copy any reference inside a "test/" > sub-directory at the same level as "test.lyx", then the script would > compress this directory (with zip) into a "test.plyx" file. If rename to > "test.zip" and uncompressed you will find:
That won't work, the .lyx file might reference other files not under the test directory. It is easy to do from within LyX, just use the ExportData class. > This is similar with the open document format. The difference is that we > should not work with the compressed file but make it a export/import > file format (the same as pdf). > > I would pay for this kind of feature... See http://bugzilla.lyx.org/show_bug.cgi?id=700. It was requested several times, and it should be fairly easy to implement. Georg