]> git.scottworley.com Git - paperdoorknob/blobdiff - paperdoorknob_test.py
No indent on first paragraph in each chunk
[paperdoorknob] / paperdoorknob_test.py
index c1f8b60a85a3bc3788d7c0c002183e85ff76ba63..4711fcdfb01f021d8f833a79e9d1496a1b25ff3c 100644 (file)
@@ -47,12 +47,16 @@ class BaseTestProcess(ABC):
         paperdoorknob.process(spec)
         assert buf.getvalue() == b'''\\documentclass{article}
 \\usepackage{graphicx}
         paperdoorknob.process(spec)
         assert buf.getvalue() == b'''\\documentclass{article}
 \\usepackage{graphicx}
-\\usepackage{wrapfig}
+\\usepackage{varwidth}
+\\usepackage{wrapstuff}
 \\usepackage[margin=20mm]{geometry}
 \\begin{document}
 This is glowfic
 \\usepackage[margin=20mm]{geometry}
 \\begin{document}
 This is glowfic
+
 You \\emph{sure}?
 You \\emph{sure}?
+
 Pretty sure.
 Pretty sure.
+
 \\end{document}
 '''
 
 \\end{document}
 '''
 
@@ -79,7 +83,7 @@ Pretty sure.
                 FakeImageStore(),
                 lambda x: x,
                 lambda x: ApplyDOMFilters('NoEdit,NoFooter', x),
                 FakeImageStore(),
                 lambda x: x,
                 lambda x: ApplyDOMFilters('NoEdit,NoFooter', x),
-                BelowIconLayout(PandocTexifier('pandoc')),
+                BelowIconLayout(PandocTexifier('pandoc'), 20),
                 None,
                 out)
             paperdoorknob.process(spec)
                 None,
                 out)
             paperdoorknob.process(spec)