> > Then, you lose the original file information.
>
> I thought that you stored this info for all files.

I do, but if I use the embedded or not solution, I can throw away
external file information.


> That is a problem anyway: You either store this info (privacy problem) or
> not.

This is, IMHO, not a privacy problem because we need the same amount
of information we currently store in the plain-text .lyx file. The
problem is that without this manifest file, I do not know how to store
an embedded file (in temppath()) that originally uses absolute path.

> Again, this is unrelated to the auto setting, because you need this
> info in both cases.

Not in your case.

> you need to find a way to deal with
> the privacy problem, whether you implement AUTO or not.

See above. lyx currently uses outputPath() so absolute path may be saved anyway.

> > This makes updating figures difficult, a major problem with
> > word/embedding.
>
> If the figures are created by some external (possibly automated) process, or
> if you have some special environment for editing them it would of course be
> unwise to permanently embed them.

ALL my figures are generated in such a way. :-)

>  In all other cases it is easy: You simply
> click the edit button in LyX. The important thing is that you have the
> choice: Nobody forces you to permanently embed the files, but if you want
> that you may do so.

Then you need to give me an option to use embedded or external file.
This is what I am doing (not related to AUTO) but JMarc feels that
indivudal setting is unnecessary.


> This is dangerous: If your colleague modified an embedded file your outdated
> external file will be used, and the modified version will be overwritten on
> the next save. Or would it ask before doing that? Then there would be no
> difference to the manual deembedding.

This is true.

> With this behaviour the only benefit of AUTO is that you do not need to
> change the embedded status before you send/after you receive the file. IMHO
> this benefit is far too small to justify the problems this feature creates.

Maybe. As I have said in another email, if insets can be updated
*easily*, I can remove this AUTO feature.


> >> Which information is lost?
> >
> > To be exact, path of files outside of document directory and which
> > files will always be embedded or external (info in manifest).
>
> That is not a problem. When you deembed the paths go into the insets. And
> the other information is not needed after deembedding without auto. When
> you embed, you store the path info and the list of embedded files somewhere
> (explicitly in the manifest or implicitly, this does not matter here). I
> still don't see any lost information.

You talked about removing manifest.... as I have said, I need to
retain *original* path of files.

> I would not consider clicking the edit button in LyX difficult. But even if
> you do: Simply switch embedding off after you receive the file, and switch
> it on before you send it again. This should not be more than one mouse in a
> suitable dialog click each time.

Because I have a few fancy features like embedding layout, disable <->
enable may lose information. UNLESS we store manifest in the .lyx file
so it is not used in plain text format, but will not be lost.

We seem to be reaching an agreement.

Cheers,
Bo

Reply via email to