mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
* use the buffer's path as the base path when computing the filename of an
include command (like it is done in InsetBibtex). This fixes master/child latex output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23973 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1c115ba7cb
commit
ffaab7d150
@ -948,7 +948,7 @@ void InsetInclude::registerEmbeddedFiles(EmbeddedFileList & files) const
|
||||
void InsetInclude::updateEmbeddedFile(EmbeddedFile const & file)
|
||||
{
|
||||
InsetCommandParams p = params();
|
||||
p["filename"] = from_utf8(file.outputFilename());
|
||||
p["filename"] = from_utf8(file.outputFilename(buffer().filePath()));
|
||||
p["embed"] = file.embedded() ? from_utf8(file.inzipName()) : docstring();
|
||||
setParams(p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user