X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/773612b400fb85103153032b193b1434d136a7ef..f20435fd054f9176b8f867cd85322697d242b493:/librarian/pdf.py diff --git a/librarian/pdf.py b/librarian/pdf.py index 10afdf3..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('styles/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)