From 266c01f30c6e5cb099d255fa8c58f5da1638d88d Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 3 Apr 2023 23:27:59 +0200 Subject: WIP: Prepare for newer Pandoc versions - It fails to build the book.pdf using LaTeX for several reasons I'm to lazy to note here. - The rest of the things build perfectly (need more extensive testing but looks ok) --- Makefile.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.scm') diff --git a/Makefile.scm b/Makefile.scm index 5975a17..7c0efea 100644 --- a/Makefile.scm +++ b/Makefile.scm @@ -74,12 +74,14 @@ exec chibi-scheme -A utils/ $0 $@ "--to=html" "-o" (make-path outpath "web-simple.html") "--standalone" - "--self-contained" + "--embed-resources" + ;"--self-contained" ; Old way to do --embed-resources "--mathml" "--no-highlight" "--data-dir=." (string-append "--resource-path=" input) - "--base-header-level=2" ;"--shift-heading-level-by=-1" is the new way + ; "--base-header-level=2" This is the old way + "--shift-heading-level-by=-1" ;is the new way "--template=web-simple.html" "--lua-filter=toc.lua" "--lua-filter=anchored-h.lua" @@ -102,8 +104,10 @@ exec chibi-scheme -A utils/ $0 $@ "-o" (make-path outpath "web.html") "--standalone" "--mathml" - "--self-contained" - "--base-header-level=2" ;"--shift-heading-level-by=-1" is the new way + "--embed-resources" + ;"--self-contained" ; Old way to do --embed-resources + ; "--base-header-level=2" This is the old way + "--shift-heading-level-by=-1" ;is the new way "--data-dir=." (string-append "--resource-path=./templates/web/:" "./templates:" -- cgit v1.2.3