1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

update test

This commit is contained in:
Lu Wang 2012-09-05 16:23:34 +08:00
parent 2d558253a5
commit 77d9038055

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 --optimize 1 -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();