From a5f4539c4cc5954515e1256289784f1b174a5a16 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 29 Dec 2023 00:38:34 -0800 Subject: [PATCH 1/1] Use LaTeX packages: longtable and booktabs pandoc-generated LaTeX assumes these packages are available --- paperdoorknob.py | 2 ++ 1 file changed, 2 insertions(+) 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} ''') -- 2.44.1