From: Marcin Koziej Date: Wed, 19 Sep 2012 11:00:42 +0000 (+0200) Subject: copy logo.eps X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/c19431d872ec746fc2f219a16aa8fbdba3900a11 copy logo.eps --- diff --git a/librarian/pdf.py b/librarian/pdf.py index 0485613..f22a305 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -237,6 +237,7 @@ def transform(wldoc, verbose=False, save_tex=None, morefloats=None, with open(os.path.join(temp, 'cover.jpg'), 'w') as f: the_cover.save(f) + shutil.copy("logo.eps", temp) for img in document.edoc.findall('//ilustr'): shutil.copy(os.path.join(imgdir, img.get('src')), temp)