fix(Makefile): pandoc - do not use implicit_figures

Cf. https://pandoc.org/chunkedhtml-demo/8.17-images.html
This commit is contained in:
Olivier DOSSMANN 2025-01-27 14:24:31 +01:00
parent ca1d5fcf96
commit 50b9c8ca2f

View File

@ -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