diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-11-09 07:46:01 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-11-09 07:46:01 +0100 |
commit | 7c85076374539d2f67fcf973e7876b004c17a2c9 (patch) | |
tree | 623064d66d26a5e1c62e758dd4f860284535a2a7 | |
parent | 29db2150036d988632b75b2787ba393626ff7617 (diff) |
Do not include unnecessary mathjax in README.html
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | README.html | 9 |
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> |