Skip to content

Where is MathJax object? #283

@jmshea

Description

@jmshea

Description

I need to access the MathJax object (window.MathJax) so I can call the typeset method on some dynamic content from JavaScript. But I don't see MathJax or window.MathJax after installing this extension.

Reproduce

  1. pip install jupyterlab-mathjax3
  2. (in Javascript, check which version of MathJax we have): if (typeof MathJax != 'undefined') -> falls through to else

Expected behavior

window.MathJax is where MathJax usually lives, as far as I know.

Context

  • Operating System and version: Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64
  • Browser and version: Safari Version 15.6.1 (17613.3.9.1.16)
  • JupyterLab version:
    Selected Jupyter core packages...
    IPython : 8.4.0
    ipykernel : 6.9.1
    ipywidgets : 7.6.5
    jupyter_client : 6.1.12
    jupyter_core : 4.10.0
    jupyter_server : 1.18.1
    jupyterlab : 3.4.4
    nbclient : 0.5.13
    nbconvert : 6.4.4
    nbformat : 5.3.0
    notebook : 6.4.12
    qtconsole : 5.3.1
    traitlets : 5.1.1
    jupyterlab-mathjax3 4.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions