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

Clash with MathJax #49

Open
nathanael-fijalkow opened this issue Feb 4, 2021 · 0 comments
Open

Clash with MathJax #49

nathanael-fijalkow opened this issue Feb 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@nathanael-fijalkow
Copy link

nathanael-fijalkow commented Feb 4, 2021

[EDIT: I opened this issue a few days ago and since then figured out where the issue exactly is.]

Hi,
Many thanks for this much needed package!

It seems that I cannot at the same time using sphinx_proof and MathJax in Jupyter-Book. Here's (the relevant part of) my _config.yml:

sphinx:
  extra_extensions:
    - sphinx_proof
  config:
    mathjax_config:
      TeX:
        Macros:
          "R"      : "\\mathbb{Reach}"
    mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js

And here is simple.md (the only file in the book)

# Simple

```{prf:axiom} Completeness of $\R$
:label: my-axiom

Every Cauchy sequence on the real line is convergent.
```

Then \R prints in red because the macros was not recognised. Note that this means that MathJax is loaded (for instance, it does display correctly when replacing by \mathbb{R}).

Many thanks for your help!
Nath

@nathanael-fijalkow nathanael-fijalkow added the bug Something isn't working label Feb 4, 2021
@nathanael-fijalkow nathanael-fijalkow changed the title Build unsuccessful: 'Proof' is not in list? Clash with MathJax Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant