diff --git a/revealjs/_templates/index.html.j2 b/revealjs/_templates/index.html.j2 index 4516cbf..3e712e4 100644 --- a/revealjs/_templates/index.html.j2 +++ b/revealjs/_templates/index.html.j2 @@ -51,8 +51,10 @@ { src: '../_assets/reveal.js/plugin/zoom-js/zoom.js', async: true }, // Speaker notes { src: '../_assets/reveal.js/plugin/notes/notes.js', async: true }, + {% if mathjax -%} // LaTeX rendering { src: '../_assets/reveal.js/plugin/math/math.js', async: true } + {%- endif %} ] }); diff --git a/revealjs/build.py b/revealjs/build.py index a586f20..ecff64e 100755 --- a/revealjs/build.py +++ b/revealjs/build.py @@ -31,6 +31,7 @@ files.extend(sorted(filter(lambda x: os.path.isfile(os.path.join(directory, x)) config = { 'theme': '../_assets/reveal.js/css/theme/black.css', + 'mathjax': False, 'controls': True, 'progress': True, 'history': True,