Dear all,

I have just submitted the last patch of the embedding feature. I will
turn to bug fixing/polishing state after the GUI cleanup is done.

This patch does the following:

1. When an emdedded file is loaded, the manifest is loaded first so we
know the embedded and external filenames.

2. When InsetGraphics (or InsetExternal) is loaded, a filename is
read, which is the external filename. This patch then checks with
embeddedFiles() and get the 'available file', which is determined by
embedding status and the availability of embedded and external files.
For example, if the embedding status is AUTO, external file will be
used if available.

3. InsetGraphics will use either embeddedFile() or externalFile().
However, when this buffer is saved, external filename will be used.
This involves another round of embeddedFiles::find().

Briefly, file.lyx continues to read/write external filename, but
embedded files will be used if needed when file.lyx is loaded.

Cheers,
Bo

Reply via email to