# 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:
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)