paperdoorknob.process(spec)
assert buf.getvalue() == b'''\\documentclass{article}
\\usepackage{graphicx}
+\\usepackage{varwidth}
\\usepackage{wrapstuff}
\\usepackage[margin=20mm]{geometry}
\\begin{document}
This is glowfic
-\\wrapstuffclear\\vspace{-.5\\ht\\strutbox}\\noindent\\hrulefill
-
You \\emph{sure}?
-\\wrapstuffclear\\vspace{-.5\\ht\\strutbox}\\noindent\\hrulefill
-
Pretty sure.
+
\\end{document}
'''