Book PDF generation

Signed-off-by: Hollow Man <hollowman@opensuse.org>
This commit is contained in:
Hollow Man 2022-12-27 23:13:24 +02:00
parent 7239a02ea3
commit eebc480cb7
No known key found for this signature in database
GPG Key ID: 06CA2A0660F48F7A
1 changed files with 17 additions and 0 deletions

View File

@ -12,3 +12,20 @@ title = "The halo2 Book"
[preprocessor.katex]
macros = "macros.txt"
renderers = ["html"]
[output.katex]
[output.html]
[output.html.print]
# Disable page break
page-break = false
[output.pdf]
display-header-footer = true
header-template = "<span></span>"
footer-template = "<p style='font-size:10px; margin-left: 48%'><span class='pageNumber'></span> / <span class='totalPages'></span></p>"
[output.pdf-outline]
like-wkhtmltopdf = false