Skip to content

Physics package bindings do not work for MathJax3 #229

@eeopd

Description

@eeopd

Hi all, I'm having troubles with the physics latex package that is included in MathJax 3.

To reproduce, just run

jupyter labextension install @jupyterlab/mathjax3-extension
jupyter labextension disable @jupyterlab/mathjax2-extension

Then create a notebook, try to execute a markdown cell with a physics command in it, e.g.
$$ \dv{y}{x} $$
This makes the command red, indicating some sort of error.

Secondly, importing the physics package explicitly does not work either: $$\require{physics}$$ gives a red error too, but this should not be necessary as this extension seems to be configured to load all extensions anyway. The physics commands do work on the live demo on the MathJax site (after importing the package).

Do you have any idea where the problems lies? Or where I could look to fix it or get more debugging information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions