Fix bug #8379: LyX Archive fails to include BibTeX files

(cherry picked from commit f6fde4b55326c7fe3821c05d64fb00d2c36c4ef4)
This commit is contained in:
Enrico Forestieri 2012-10-20 18:27:35 +02:00
parent c47a7c969f
commit d781daa401
2 changed files with 3 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def gather_files(curfile, incfiles, lyx2lyx):
j = 0 j = 0
while j < len(bibfiles): while j < len(bibfiles):
if os.path.isabs(bibfiles[j]): if os.path.isabs(bibfiles[j]):
file = bibfiles[j] file = bibfiles[j] + '.bib'
else: else:
file = os.path.join(curdir, bibfiles[j] + '.bib') file = os.path.join(curdir, bibfiles[j] + '.bib')
if os.path.exists(file): if os.path.exists(file):

View File

@ -158,6 +158,8 @@ What's new
- Removed unnecessary dependency on the package europs.sty from the - Removed unnecessary dependency on the package europs.sty from the
g-brief layout files. g-brief layout files.
- Do not skip bibtex files specified by their full path when creating
a LyX archive (bug 8379).
* USER INTERFACE * USER INTERFACE