-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #25833: Upgrade to MathJax 3 and configure Sage
Mathjax v3.2.0 was released on 2021-06-17, see [[https://github.com/mathjax/MathJax]]. This will be done in three steps: - Step 1: Fix Sage to be compatible with MathJax3. Done in #31517. - Step 2: Provide mathjax spkg upgraded to MathJax3. - Step 3: Configure Sage to use MathJax3. This ticket focuses on the Steps 2 and 3. To install mathjax, you can download the tarball from a temporary URL: https://drive.google.com/file/d/1-tMjjIwftzoGngFh549_kUO3Chmy3qhI/view ?usp=sharing and place the tarball in `upstream/` and `make`, or you can just do `make` since the tarball will be automatically downloaded from the attachment of this ticket after unsuccessful attempts to download from sage mirrors. We can now choose whether to use mathjax CDN or not. The default is not to. To use CDN, do {{{ export SAGE_DOCBUILD_OPTS="--use-cdns" }}} before `make` online doc. Related tickets: - #30296 System package information and spkg-configure for mathjax - #33600 Configure mathjax in sphinx config and upgrade to Mathjax v3 URL: https://trac.sagemath.org/25833 Reported by: slelievre Ticket author(s): Tobias Diez, Kwankyu Lee Reviewer(s): Tobias Diez, Kwankyu Lee
- Loading branch information
Showing
15 changed files
with
152 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
tarball=mathjax-VERSION.tar.gz | ||
sha1=a1b31066a541167c65d6b43f24f3a06f03760662 | ||
md5=02d1067dc06d9ca7d380457a49404766 | ||
cksum=1204309472 | ||
sha1=3f7abecf8cacd7f5d7f9ae6c3baca7739101c17d | ||
md5=ba1a65ab58aaad6c84f39735c619bc34 | ||
cksum=1142131398 | ||
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/25833/mathjax-3.2.0.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.4.p0 | ||
3.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/doc/common/themes/sage-classic/static/mathjax_sage.js_t
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Indices and Tables | ||
================== | ||
|
||
* `Index <../genindex.html>`_ | ||
* `Module Index <../py-modindex.html>`_ | ||
* `Search Page <../search.html>`_ | ||
|
||
.. | ||
comment: the following math environment forces Sphinx to load MathJax | ||
in the index.rst pages. Do not delete it! | ||
|
||
.. math:: | ||
:nowrap: | ||
|
||
* `Index <../genindex.html>`_ | ||
* `Module Index <../py-modindex.html>`_ | ||
* `Search Page <../search.html>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
|
||
Oops, something went wrong.