Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump mathjax to v3.2.2 #125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions web/app/views/page-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,25 @@

<?php if (isset($REQUIRE_LIB['mathjax'])): ?>
<!-- MathJax -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: false,
tex2jax: {
inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
processEscapes:true
<script>
MathJax = {
tex: {
inlineMath: [
['$', '$'],
['\\(', '\\)']
],
processEscapes: true
},
menuSettings: {
zoom: "Hover"
}
});
options: {
menuOptions: {
settings: {
zoom: 'Hover'
}
}
}
};
</script>
<script src="//cdn.bootcss.com/mathjax/2.6.0/MathJax.js?config=TeX-AMS_HTML"></script>
<?= HTML::js_src('/js/MathJax-3.2.2/es5/tex-mml-chtml.js') ?>
<?php endif ?>

<?php if (isset($REQUIRE_LIB['jquery.form'])): ?>
Expand Down
2 changes: 2 additions & 0 deletions web/js/MathJax-3.2.2/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [numfocus]
custom: ['https://numfocus.org/donate-to-mathjax']
54 changes: 54 additions & 0 deletions web/js/MathJax-3.2.2/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.**
-----

### Issue Summary

A summary of the issue and the browser/OS environment in which it occurs. If
suitable, include the steps required to reproduce the bug.

### Steps to Reproduce:

1. This is the first step
2. This is the second step
3. Further steps, etc.

Any other information you want to share that is relevant to the issue
being reported. Especially, why do you consider this to be a bug? What
do you expect to happen instead?

### Technical details:

* MathJax Version: 3.2
* Client OS: (e.g., Mac OS X 10.8.4)
* Browser: (e.g., Chrome 29.0.1547.57)

I am using the following MathJax configuration:

``` js
MathJax = {
...
};
```

and loading MathJax via

``` html
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
```

### Supporting information:

* Please supply a link to a (live) minimal example page, when possible.
* If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
* Check your browser console window for any error messages, and include them here.
* Include the MathJax configuration you are using, and the script tag that loads MathJax itself.
20 changes: 20 additions & 0 deletions web/js/MathJax-3.2.2/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
2 changes: 2 additions & 0 deletions web/js/MathJax-3.2.2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store

17 changes: 17 additions & 0 deletions web/js/MathJax-3.2.2/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
dist: focal
language: node_js
node_js:
- stable
sudo: false
script:
- npm test
branches:
only:
- "/^\\d+\\.\\d+/"
deploy:
provider: npm
email: [email protected]
api_key:
secure: rdvJ27qbw4DZJl49NSf/ybkeHWNWnk2MajS8Y8bMKwI8RaDyEGcAm3frA+CfBw+YHWl71KRJlQHL69YgVwp1nMSzKrGOpwrbL3TMFrFMdBC6tJ30dX1HSvAg9eU5K12E5672MM8qkTwJdYXsvEcyYlzRR+sogR8jTWRl3APuAwY=
on:
tags: true
Loading