X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/a442f4e3ed6f846736e787876cf4cb06db5cd29b..c19431d872ec746fc2f219a16aa8fbdba3900a11:/librarian/pdf.py?ds=sidebyside 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)