]> git.scottworley.com Git - paperdoorknob/commitdiff
Use LaTeX packages: longtable and booktabs
authorScott Worley <scottworley@scottworley.com>
Fri, 29 Dec 2023 08:38:34 +0000 (00:38 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 29 Dec 2023 08:38:34 +0000 (00:38 -0800)
pandoc-generated LaTeX assumes these packages are available

paperdoorknob.py

index 4ee4dbc2a0fca7208d62ec9fd8c6e212087c5062..b5b7a44a433f2410d64fb12c021348fac25171b8 100644 (file)
@@ -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}
 ''')