-
Notifications
You must be signed in to change notification settings - Fork 330
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
Matrices not rendered in sphinx documentation #62
Comments
Some notes while I am investigating this: Going down the rabbit hole, the dependency chain of packages involved in rendering the notebook is: In my local environment,
I think there are some newline in the multiline latex code inside the jupyter notebook which are the root cause: Inside the notebook we have
Invoking sphinx, the notebook is translated to an intermediate rst file (prob. managed by sphinx-nbexamples calling nbconvert). The latex equation is converted to
breaking rst roles. I can reproduce this with I guess this is a known limitation of nbconvert (jupyter/nbconvert#291). |
I went through and removed the newlines in #63. Let me know if you think what I did there will fix the issue. I ran
|
It works for me locally, but did not fix the issue online. What's your pandoc version? |
I've got a fairly old version: After updating to
The problem may be with the
I've created another PR using |
It looks like #64 resolved the problem, so I'm closing this issue. Note that when |
* add missing config arguments dynamicslab#61 * resolve sphinx formatting warnings
The notebook
2_original_paper.ipynb
contains multiple matrices typeset in LaTeX, but they are not rendered in the sphinx documentation.The matrices were made using the
bmatrix
environment. From what I have read online, mathjax should be compatible withbmatrix
, and we list mathjax as an extension in our configuration file, so I'm having trouble figuring out where the problem stems from. I couldn't find anything relevant in the nbexamples documentation either. @Ohjeah, do you have any insights into what the problem might be?The text was updated successfully, but these errors were encountered: