diff --git a/Makefile b/Makefile index 4512c9883ece715435c70e3a097e0198c704cec3..08ea78ac1b8bb5af01cd29eb827211891b06fef3 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