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

Make Sage output MathJax3 compatible htmls #31517

Closed
kwankyu opened this issue Mar 19, 2021 · 11 comments
Closed

Make Sage output MathJax3 compatible htmls #31517

kwankyu opened this issue Mar 19, 2021 · 11 comments

Comments

@kwankyu
Copy link
Collaborator

kwankyu commented Mar 19, 2021

MathJax2 converts TeX and LaTeX math delimiter pairs such as $, $$, (, ), [,] to script tag <script type="math/tex">...</script>, and then renders the scripts.

MathJax3 directly renders maths in the math delimiters.

Currently Sage renders maths in LaTeX to html with script tags, which are recognized only by MathJax2.

To pave the way for transiting Sage to MathJax3, we make Sage output MathJax3 compatible htmls.

With this patch, Sage works both with MathJax2 and MathJax3.

(this patch also contains a small fix for tables)

CC: @egourgoulhon

Component: misc

Author: Kwankyu Lee

Branch/Commit: 3d26006

Reviewer: Markus Wageringel

Issue created by migration from https://trac.sagemath.org/ticket/31517

@kwankyu kwankyu added this to the sage-9.3 milestone Mar 19, 2021
@kwankyu
Copy link
Collaborator Author

kwankyu commented Mar 19, 2021

Branch: u/klee/31517

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 19, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

27820caSage output MathJax3 compatible htmls

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 19, 2021

Commit: 27820ca

@kwankyu

This comment has been minimized.

@kwankyu
Copy link
Collaborator Author

kwankyu commented Mar 19, 2021

Author: Kwankyu Lee

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 24, 2021

comment:6

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Mar 24, 2021
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 9, 2021

Changed commit from 27820ca to 3d26006

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 9, 2021

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

3d26006Sage output MathJax3 compatible htmls

@mwageringel
Copy link

comment:9

This looks good to me.

@mwageringel
Copy link

Reviewer: Markus Wageringel

@vbraun
Copy link
Member

vbraun commented May 27, 2021

Changed branch from u/klee/31517 to 3d26006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants