From c19431d872ec746fc2f219a16aa8fbdba3900a11 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 19 Sep 2012 13:00:42 +0200 Subject: [PATCH] copy logo.eps --- librarian/pdf.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1