Merge pull request #713 from HollowMan6/main

Book PDF generation
This commit is contained in:
str4d 2023-01-06 22:19:14 +00:00 committed by GitHub
commit 942b2f84aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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