X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bf257ff992a110c085a50b3aeb5edb4e88697f62..34e20784e9a853f6c9d03fbbec61491b55d95bd6:/librarian/pdf.py?ds=inline 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)