fix bibtex inset in included files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10610 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-11-18 08:57:56 +00:00
parent 70c0f419f6
commit 8d8a65ce3c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* insetbibtex.C (latex): copy .bib files to the master buffer temp dir
2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insetbase.h:

View File

@ -164,7 +164,7 @@ int InsetBibtex::latex(Buffer const & buffer, ostream & os,
database = FileName(database).mangledFilename();
string const out_file = MakeAbsPath(database + ".bib",
buffer.temppath());
buffer.getMasterBuffer()->temppath());
bool const success = copy(in_file, out_file);
if (!success) {