Embedding: temporarily disable embedding for include and external insets (focusing on graphics)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22375 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2008-01-05 04:44:41 +00:00
parent 995a1353df
commit 0264dd05b0
2 changed files with 4 additions and 1 deletions

View File

@ -489,7 +489,8 @@ bool InsetExternal::getStatus(Cursor & cur, FuncRequest const & cmd,
void InsetExternal::registerEmbeddedFiles(Buffer const &, void InsetExternal::registerEmbeddedFiles(Buffer const &,
EmbeddedFiles & files) const EmbeddedFiles & files) const
{ {
files.registerFile(params_.filename.absFilename(), false, this); // temporarily disable embedding for this inset
/* files.registerFile(params_.filename, this); */
} }

View File

@ -890,9 +890,11 @@ void InsetInclude::registerEmbeddedFiles(Buffer const & buffer,
EmbeddedFiles & files) const EmbeddedFiles & files) const
{ {
// include and input are temprarily not considered. // include and input are temprarily not considered.
/*
if (isVerbatim(params()) || isListings(params())) if (isVerbatim(params()) || isListings(params()))
files.registerFile(includedFilename(buffer, params()).absFilename(), files.registerFile(includedFilename(buffer, params()).absFilename(),
false, this); false, this);
*/
} }
} // namespace lyx } // namespace lyx