X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1788f5dc5560ef56d82685ec9dd70f4ab41983cd..6df7f4fb5a5f4f7d1fcf059837219a912a14dcd8:/librarian/pdf.py diff --git a/librarian/pdf.py b/librarian/pdf.py index d06a656..03879fe 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -265,8 +265,8 @@ class PDFFormat(Format): # Copy style shutil.copy(get_resource('pdf/wl.cls'), temp) shutil.copy(self.style, os.path.join(temp, 'style.sty')) - for sfile in ['wasysym.sty', 'uwasyvar.fd', 'uwasy.fd']: - shutil.copy(get_resource(os.path.join('res/wasysym', sfile)), temp) + #for sfile in ['wasysym.sty', 'uwasyvar.fd', 'uwasy.fd']: + # shutil.copy(get_resource(os.path.join('res/wasysym', sfile)), temp) # Save attachments if self.cover: @@ -290,7 +290,7 @@ class PDFFormat(Format): p = call(['xelatex', '-interaction=batchmode', tex_path], stdout=PIPE, stderr=PIPE) if p: - raise ParseError("Error parsing .tex file") + raise ParseError("Error parsing .tex file: %s" % tex_path) if cwd is not None: os.chdir(cwd)