Skip to content

Commit

Permalink
switch from MathJax configuration TeX-AMS_HTML-full to TeX-AMS-MML_HT…
Browse files Browse the repository at this point in the history
…MLorMML-full
  • Loading branch information
poke1024 committed Jun 24, 2016
1 parent 89be075 commit ab8f837
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebook/base/handlers.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def mathjax_url(self):

@property
def mathjax_config(self):
return self.settings.get('mathjax_config', 'TeX-AMS_HTML-full,Safe')
return self.settings.get('mathjax_config', 'TeX-AMS-MML_HTMLorMML-full,Safe')

@property
def base_url(self):
Expand Down
2 changes: 1 addition & 1 deletion notebook/notebookapp.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def _update_mathjax_url(self, change):
else:
self.log.info("Using MathJax: %s", new)

mathjax_config = Unicode("TeX-AMS_HTML-full,Safe", config=True,
mathjax_config = Unicode("TeX-AMS-MML_HTMLorMML-full,Safe", config=True,
help="""The MathJax.js configuration file that is to be used."""
)

Expand Down
2 changes: 1 addition & 1 deletion setupbase.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def find_package_data():
mj = lambda *path: pjoin(components, 'MathJax', *path)
static_data.extend([
mj('MathJax.js'),
mj('config', 'TeX-AMS_HTML-full.js'),
mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'),
mj('config', 'Safe.js'),
])

Expand Down

0 comments on commit ab8f837

Please sign in to comment.