mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
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:
parent
995a1353df
commit
0264dd05b0
@ -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); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user