\\usepackage{booktabs}
\\usepackage{graphicx}
\\usepackage{longtable}
+\\usepackage{soul}
\\usepackage{varwidth}
\\usepackage{wrapstuff}
''')
for r in chunkDOMs(html):
spec.domfilter(r)
chunk = makeChunk(r, spec.images)
- spec.texout.write(spec.layout.renderChunk(chunk))
+ spec.texout.write(spec.texfilter(spec.layout.renderChunk(chunk)))
spec.texout.write(b'\\end{document}\n')