From 8bcf9166737286769f0ee7b6e602d59e1f33b727 Mon Sep 17 00:00:00 2001 From: "kujiu (@rincevent)" Date: Sat, 4 Jul 2020 20:59:45 +0200 Subject: [PATCH] Update printing options --- source/conf.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source/conf.py b/source/conf.py index a319dda..78164fa 100644 --- a/source/conf.py +++ b/source/conf.py @@ -178,10 +178,19 @@ html_sidebars = { ], } html_baseurl = baseurl - - htmlhelp_basename = basename +pyppeteer_pdf_options = { + 'printBackground': True, + 'format': 'A4', + 'margin': { + 'top': '0mm', + 'bottom': '0mm', + 'left': '0mm', + 'right': '0mm' + } +} + latex_engine = 'xelatex' latex_toplevel_sectioning = 'chapter' latex_show_urls = 'footnote'