aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile2
-rw-r--r--README.html9
2 files changed, 1 insertions, 10 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6534a71e..706e2cad 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -77,7 +77,7 @@ test: quickinstall
"$(RBIN)/Rscript" testthat.R 2>&1 | tee ../test.log
README.html: README.md
- "$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document')"
+ "$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document', output_options = list(mathjax = NULL))"
vignettes/%.pdf: vignettes/header.tex vignettes/references.bib vignettes/%.Rnw
"$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.Rnw', dir = 'vignettes')"
diff --git a/README.html b/README.html
index 928e3725..3a97d030 100644
--- a/README.html
+++ b/README.html
@@ -139,15 +139,6 @@ $(document).ready(function () {
</script>
-<!-- dynamically load mathjax for compatibility with self-contained -->
-<script>
- (function () {
- var script = document.createElement("script");
- script.type = "text/javascript";
- script.src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
- document.getElementsByTagName("head")[0].appendChild(script);
- })();
-</script>
</body>
</html>

Contact - Imprint