Skip to content

Update to latest release of MathJax 2.7 #11535

Closed

Description

@kevinushey

Motivated by #8715 (comment).

Separate from #8715, which tracks updating to MathJax 3, which may require more work (since the API has changed -- see https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html)

Activity

  1. cderv commented on Jun 30, 2022

    @cderv
    Collaborator

    @kevinushey does this also cover updating mathjax.rstudio.com/latest or should there be another issue tracked somewhere else for IT to update this hosting version ?

    I am just not sure if you are talking about Mathjax version possibly embeded in IDE only or also this hosted version we maintained.

    Thanks

  2. kevinushey commented on Jun 30, 2022

    @kevinushey
    CollaboratorAuthor

    I was mainly thinking about the version we embed; I didn't realize we served our own version as well (so I guess we'd want to update that as well)

  3. cderv commented on Jun 30, 2022

    @cderv
    Collaborator

    Initially that was the motivation behind #8715 as rmarkdown is relying on the hosted version (and the local embed one in certain condition). All the R Markdown out there using Mathjax are pointing to our hosted version :)

    Do I need to reach out to another team ? Or will you take that item as part of the IDE upgrade ? Not sure who is in charge of the hosted version. 🤷‍♂️

  4. kevinushey commented on Jun 30, 2022

    @kevinushey
    CollaboratorAuthor

    I think the IDE team did that work some time ago, but I don't recall for certain.

  5. added this to the 2024 milestone on Jul 5, 2022
  6. mikebessuille commented on Jul 5, 2022

    @mikebessuille
    Contributor

    Mountain of urgent work ahead of this... :(. Is there an urgent need for this?

  7. jmcphers commented on Jul 5, 2022

    @jmcphers
    Member

    If memory serves, we had to create mathjax.rstudio.com b/c we couldn't bundle mathjax in the rmarkdown package -- mathjax is huge (due in part to the many heavyweight image fonts used to render math symbols) so can't be included in the package w/o exceeding CRAN package size limits. I don't know the current ownership of the domain, though (maybe SRE would)

  8. jgutman commented on Jul 5, 2022

    @jgutman
    Contributor

    Rationale for updating to 2.7.5:

    I see this is slated for 2024, but I was wondering if it would be feasible to bump it up the priority list, as there is a known XSS vulnerability in versions of MathJax earlier than 2.7.4.

    @cderv has reached out to ask about the ownership of mathjax.rstudio.com, but not yet received a response

  9. mikebessuille commented on Jul 5, 2022

    @mikebessuille
    Contributor

    Yes that would be a good reason.

  10. modified the milestones: 2024, 2023 on Jul 5, 2022
  11. 2 remaining items

  12. mmitchell-w commented on May 21, 2024

    @mmitchell-w
  13. self-assigned this
    on May 22, 2024
  14. ronblum commented on Jun 6, 2024

    @ronblum
    Contributor

    Verified in RStudio Desktop Pro 2024.07.0-daily+188.pro20 on Windows 11, the file C:\Program Files\RStudio\resources\app\resources\mathjax-2\MathJax.js contains MathJax.version="2.7.9".

  15. self-assigned this
    on Jun 6, 2024
  16. cderv commented on Jun 7, 2024

    @cderv
    Collaborator

    Thanks !

    And what about https://mathjax.rstudio.com/latest/MathJax.js

    Did we find who can update this to the same latest version ?

  17. ronblum commented on Jun 7, 2024

    @ronblum
    Contributor

    @cderv I created an issue for it, #14803, so that we update it, too.

  18. kevinushey commented on Aug 15, 2024

    @kevinushey
    CollaboratorAuthor

    It looks like the latest dailies on macOS are still using Mathjax 2.7.6; I'm not sure where the wires got crossed...

  19. ronblum commented on Aug 26, 2024

    @ronblum
    Contributor

    Verified that
    /Applications/RStudio.app/Contents/Resources/app/resources/mathjax-27MathJax.js contains MathJax.version="2.7.9"
    in RStudio Desktop 2024.08.0+351 and RStudio Desktop Pro 2024.08.0+351.pro62 on MacOS 14.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions