From 50b9c8ca2fe3d5e1e500f9405dac4ea1c265d0e5 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Mon, 27 Jan 2025 14:24:31 +0100 Subject: [PATCH] fix(Makefile): pandoc - do not use implicit_figures Cf. https://pandoc.org/chunkedhtml-demo/8.17-images.html --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e52cf02..7bf9ca2 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,8 @@ public/${NAME}.html: public ${CONTENT_LIST} public/${NAME}.pdf: public ${CONTENT_LIST} $Qecho "[PREPA] PDF : contenu" - $Qpandoc -V colorlinks -V fontfamily="${FONT_FAMILY}" -V fontsize="${FONT_SIZE}" -V classoption:twoside --number-sections -V graphics --template="${LATEX_TEMPLATE}" --toc -V toc-title:'${TOC_TITLE}' -V papersize:a4 --from=markdown --to=latex -o "public/${NAME}.pdf" ${CONTENT_LIST} + # Cf. https://pandoc.org/chunkedhtml-demo/8.17-images.html for implicit_figures explanations (deactivated here) + $Qpandoc -V colorlinks -V fontfamily="${FONT_FAMILY}" -V fontsize="${FONT_SIZE}" -V classoption:twoside --number-sections -V graphics --template="${LATEX_TEMPLATE}" --toc -V toc-title:'${TOC_TITLE}' -V papersize:a4 --from=markdown-implicit_figures --to=latex -o "public/${NAME}.pdf" ${CONTENT_LIST} # END .PHONY: clean