]> git.lyx.org Git - features.git/commitdiff
fix bibtex inset in included files
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 18 Nov 2005 08:57:56 +0000 (08:57 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 18 Nov 2005 08:57:56 +0000 (08:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10610 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetbibtex.C

index b995bbc110ca333fd716ac08b2e35cc4ddbc36fe..2986041bb1e46c661172de705ebc1218be7092cb 100644 (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:
index 3168106360e586866e6c47e3a55d6249ca8f127e..3bc29d0566a09e2c1d67a04325523ad072ea6a6e 100644 (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) {