X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/0374fbde6508c909522c701cca9c7ca672a66719..357f37be787409c5655df646f8aa0ed4abfa5eaf:/paperdoorknob.py diff --git a/paperdoorknob.py b/paperdoorknob.py index 24ccccd..f2a81d2 100644 --- a/paperdoorknob.py +++ b/paperdoorknob.py @@ -19,7 +19,7 @@ def parse(content: bytes) -> BeautifulSoup: def process(spec: Spec) -> None: spec.texout.write(b'''\\documentclass{article} \\usepackage{graphicx} -\\usepackage{wrapfig} +\\usepackage{wrapstuff} ''') if spec.geometry is not None: spec.texout.write(b'\\usepackage[' + @@ -34,7 +34,7 @@ def process(spec: Spec) -> None: else: # h/t https://tex.stackexchange.com/questions/309856 spec.texout.write(b''' -\\vspace{-.5\\ht\\strutbox}\\noindent\\hrulefill +\\wrapstuffclear\\vspace{-.5\\ht\\strutbox}\\noindent\\hrulefill ''') spec.domfilter(r)