From 3a981e0e957e4dcc8039fe7af450af2dcb65f95a Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 18 Nov 2005 08:58:20 +0000 Subject: [PATCH] fix bibtex inset in included files git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10611 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 4 ++++ src/insets/insetbib.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index c233ff5567..4b6a8d9b08 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2005-11-18 Georg Baum + + * insetbib.C (latex): copy .bib files to the master buffer temp dir + 2005-08-09 Jürgen Spitzmüller * insettabular.C (tabularFeatures): don't force alignment to BLOCK diff --git a/src/insets/insetbib.C b/src/insets/insetbib.C index a6d17457b7..9a4bdf6f65 100644 --- a/src/insets/insetbib.C +++ b/src/insets/insetbib.C @@ -243,7 +243,7 @@ int InsetBibtex::latex(Buffer const * buffer, ostream & os, database = mangled_filename(database); string const out_file = MakeAbsPath(database + ".bib", - buffer->tmppath); + buffer->getMasterBuffer()->tmppath); bool const success = lyx::copy(in_file, out_file); if (!success) {