summaryrefslogtreecommitdiff
path: root/latex
diff options
context:
space:
mode:
authorPrefetch2021-02-22 14:17:04 +0100
committerPrefetch2021-02-22 14:17:04 +0100
commitdff483c8ee68f530421814aa5a870ce5272e48ea (patch)
tree67bf0f5c02fc7d0eb020b13355e3422c96455e87 /latex
parent15bfb7730801809704c6561e20c5ca47627b2d79 (diff)
Test custom MathJax build
Diffstat (limited to 'latex')
-rw-r--r--latex/Makefile2
-rw-r--r--latex/template.html6
2 files changed, 1 insertions, 7 deletions
diff --git a/latex/Makefile b/latex/Makefile
index 69bf59f..0679c72 100644
--- a/latex/Makefile
+++ b/latex/Makefile
@@ -1,6 +1,6 @@
CONV = pandoc
-CONVFLAGS = --from markdown --to html --standalone --template template.html --mathjax=/mathjax/tex-svg.js
+CONVFLAGS = --from markdown --to html --standalone --template template.html --mathjax=/mathjax/custom-mathjax.js
know: $(shell find ./know/concept -mindepth 1 -maxdepth 1 -type d -printf "%p/index.html\\n")
for file in $^; do \
diff --git a/latex/template.html b/latex/template.html
index 3764f3a..79a12ee 100644
--- a/latex/template.html
+++ b/latex/template.html
@@ -9,12 +9,6 @@
<style>
$main.css()$
</style>
- <script>
- MathJax = {
- loader: {load: ["[tex]/physics"]},
- tex: {packages: {"[+]": ["physics"]}}
- };
- </script>
$if(math)$
$math$
$endif$