From a9dc68df51ce57c3c45beb5954aa1ec31b13baf5 Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Sat, 21 Jan 2023 15:04:43 +0100 Subject: [PATCH] try another fix for html standalone --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4512c98..08ea78a 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ PDFOPTIONS += --number-sections HTMLOPTIONS += -t html5 HTMLOPTIONS += -c css/tufte-css/tufte.css -HTMLOPTIONS += --standalone +HTMLOPTIONS += --standalone --embed-resources HTMLOPTIONS += --mathjax=MathJax.js CLASS_SOURCES := $(sort $(filter-out README.md, $(wildcard *.md))) @@ -39,7 +39,7 @@ cours.pdf: $(CLASS_SOURCES) pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml cours.html: $(CLASS_SOURCES) - pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml + pandoc $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml $(PDF): %.pdf: 00_macros.md %.md 10_footer.md pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml @@ -66,7 +66,6 @@ deploy: all mkdir -p phys/field_lines cp cours.html phys/index.html cp cours.pdf phys/cours.pdf - rsync -avzz css phys/ make -C exercices make -C practical_work mkdir -p phys/exercices -- GitLab