From: Scott Worley Date: Fri, 29 Dec 2023 08:38:34 +0000 (-0800) Subject: Use LaTeX packages: longtable and booktabs X-Git-Url: http://git.scottworley.com/paperdoorknob/commitdiff_plain/a5f4539c4cc5954515e1256289784f1b174a5a16?hp=4aa870922e636a50ec829471e0de5ca6a6103974 Use LaTeX packages: longtable and booktabs pandoc-generated LaTeX assumes these packages are available --- diff --git a/paperdoorknob.py b/paperdoorknob.py index 4ee4dbc..b5b7a44 100644 --- a/paperdoorknob.py +++ b/paperdoorknob.py @@ -18,7 +18,9 @@ def parse(content: bytes) -> BeautifulSoup: def process(spec: Spec) -> None: spec.texout.write(b'''\\documentclass{article} +\\usepackage{booktabs} \\usepackage{graphicx} +\\usepackage{longtable} \\usepackage{varwidth} \\usepackage{wrapstuff} ''')