"Bo Peng" <[EMAIL PROTECTED]> writes: | > Is this patch just a trick then to get a file bundled with lyx? | > If that is the case, I don't like it. | | I am not sure how much you know about this embedding feature so allow | me to explain.
This is a feature I have wanted for... Oooo so long... | Skipping all the failed attempts, right now, when you insert a figure, | or later any child document like program listing, it can be marked as | 'include this file when saved in bundled format'. This does not change | anything until you select 'Document -> Save in bundled format'. Mmmm... I even thing that should have been the default. [...] | Now it comes to the 'embedded child document' inset introduced by this | patch. You are right that this is a trick to bundle arbitrary file, | but this is a natural way to do it. And this I dislike. IMHO we should not support that. | For example, one can embed | customized layout and class files in this way, and distribute a lyx | file that can be edited by anyone with lyx installed. We don't need support for embedding arbitrary files to support this. IMHO we should add explicit support for the above instead. | Note that | another user does not have to install the customized layout and class | file to his latex/lyx system. | | I can of course use a new inset type, but that would be a stripped | down version of InsetInclude. I can also allow user to enter such | files in Document->Settings->Embedding. Maybe you would like the | latter option? If by "such files" you mean "embed other files directly related to the document", then yes I would. -- Lgb