X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/51bcb92d5e5a879118d83f72d588d909d69dd3ab..90a4097e55f34b00e81724ccbdf6893a8991f810:/librarian/pdf.py?ds=sidebyside diff --git a/librarian/pdf.py b/librarian/pdf.py index 133647d..af3d1df 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -229,7 +229,7 @@ def transform(wldoc, verbose=False, save_tex=None, morefloats=None, style = etree.parse(style_filename) texml = document.transform(style) - etree.dump(texml.getroot()) + # etree.dump(texml.getroot()) # TeXML -> LaTeX temp = mkdtemp('-wl2pdf') @@ -240,6 +240,7 @@ def transform(wldoc, verbose=False, save_tex=None, morefloats=None, shutil.copy("cce_trust.eps", temp) shutil.copy("logo.eps", temp) for img in document.edoc.findall('//ilustr'): + # print "--->> %s %s %s" % (imgdir, img, img.get('src')) shutil.copy(os.path.join(imgdir, img.get('src')), temp)