Skip to content

Commit

Permalink
ENH: review of KaTeX for html math rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed Feb 19, 2025
1 parent 97d3131 commit db6fca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ dependencies:
- sphinx-proof==0.2.0
- sphinx-togglebutton==0.3.2
- sphinx-reredirects==0.1.4 #Version 0.1.5 requires sphinx>=7.1
- sphinxcontrib-katex
3 changes: 2 additions & 1 deletion lectures/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ latex:
targetname: quantecon-python-intro.tex

sphinx:
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter, sphinx_reredirects]
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_proof, sphinx_tojupyter, sphinx_reredirects, sphinxcontrib.katex]
config:
bibtex_reference_style: author_year
# false-positive links
Expand Down Expand Up @@ -107,6 +107,7 @@ sphinx:
"argmax" : "arg\\,max"
"argmin" : "arg\\,min"
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# katex_prerender: True
rediraffe_redirects:
index_toc.md: intro.md
# Remote Redirects
Expand Down

0 comments on commit db6fca3

Please sign in to comment.