summaryrefslogtreecommitdiff
path: root/Makefile.scm
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-04-03 23:27:59 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-04-03 23:27:59 +0200
commit266c01f30c6e5cb099d255fa8c58f5da1638d88d (patch)
tree02f3b35cd856c01cf9d72c870226d144bc4b3024 /Makefile.scm
parent8ee01ecf42136344a095805a68485a99f2a59c29 (diff)
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)
Diffstat (limited to 'Makefile.scm')
-rw-r--r--Makefile.scm12
1 files changed, 8 insertions, 4 deletions
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:"