1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

Merge branch 'master' into devv

This commit is contained in:
Lu Wang 2012-09-01 23:25:51 +08:00
commit 57dd51ccc7

View File

@ -12,7 +12,7 @@ for f in os.listdir(DIR):
if not f.lower().endswith('.pdf'):
continue
print f
os.system('pdf2htmlEX -l 3 --dest-dir html %s/%s' % (DIR,f))
os.system('pdf2htmlEX -l 3 --dest-dir html "%s/%s"' % (DIR,f))
ff = f[:-3]+'html'
outf.write('<a href="html/%s" target="pdf">%s</a><br/>' % (ff,ff))
outf.flush();