diff --git a/exercices/Makefile b/exercices/Makefile
index bb87bf8be85035874e1ae6da3a0d0b528e74c758..9c64ae310b5aba4d5d13682795af5d5980326928 100644
--- a/exercices/Makefile
+++ b/exercices/Makefile
@@ -8,7 +8,7 @@ PDFOPTIONS += --template=./default.latex
 
 HTMLOPTIONS += -t html5
 HTMLOPTIONS += -c ../css/tufte-css/tufte.css
-HTMLOPTIONS += --self-contained
+HTMLOPTIONS += ---standalone --embed-resources
 HTMLOPTIONS += --mathjax=MathJax.js
 
 MD=$(wildcard *.md)
diff --git a/practical_work/Makefile b/practical_work/Makefile
index bb87bf8be85035874e1ae6da3a0d0b528e74c758..9c64ae310b5aba4d5d13682795af5d5980326928 100644
--- a/practical_work/Makefile
+++ b/practical_work/Makefile
@@ -8,7 +8,7 @@ PDFOPTIONS += --template=./default.latex
 
 HTMLOPTIONS += -t html5
 HTMLOPTIONS += -c ../css/tufte-css/tufte.css
-HTMLOPTIONS += --self-contained
+HTMLOPTIONS += ---standalone --embed-resources
 HTMLOPTIONS += --mathjax=MathJax.js
 
 MD=$(wildcard *.md)
diff --git a/practical_work/electric_fl/Makefile b/practical_work/electric_fl/Makefile
index 3ba1e797414d652127de10f0c621d72e30cd29fe..aa26e10c29f5861821bafb9e9190f1ecf35e09ad 100644
--- a/practical_work/electric_fl/Makefile
+++ b/practical_work/electric_fl/Makefile
@@ -8,7 +8,7 @@ PDFOPTIONS += --template=./default.latex
 
 HTMLOPTIONS += -t html5
 HTMLOPTIONS += -c ../../css/tufte-css/tufte.css
-HTMLOPTIONS += --self-contained
+HTMLOPTIONS += ---standalone --embed-resources
 HTMLOPTIONS += --mathjax=MathJax.js
 
 MD=$(wildcard *.md)
diff --git a/practical_work/planets/Makefile b/practical_work/planets/Makefile
index 3ba1e797414d652127de10f0c621d72e30cd29fe..aa26e10c29f5861821bafb9e9190f1ecf35e09ad 100644
--- a/practical_work/planets/Makefile
+++ b/practical_work/planets/Makefile
@@ -8,7 +8,7 @@ PDFOPTIONS += --template=./default.latex
 
 HTMLOPTIONS += -t html5
 HTMLOPTIONS += -c ../../css/tufte-css/tufte.css
-HTMLOPTIONS += --self-contained
+HTMLOPTIONS += ---standalone --embed-resources
 HTMLOPTIONS += --mathjax=MathJax.js
 
 MD=$(wildcard *.md)