[IPython-dev] nbconverter exports display latex code instead of math formulas

Matthias Bussonnier bussonniermatthias at gmail.com
Wed Sep 10 11:50:05 EDT 2014


Le 10 sept. 2014 à 15:59, Matt Davis a écrit :

> I don't know if it's related, but in the last couple days I've been unable to load the Mathjax or Reveal libraries via CDN. Seems like something is wrong with it.
> 

Mathjax cdn moved. The old address will not work anymore. 

That the progress of the web.
--
M


> - Matt
> 
> On Wednesday, September 10, 2014, David Bernal <a.kurosawa at gmail.com> wrote:
> Hi Reniere,
> thanks for answering, although I still have the problem. Let be me more specific, When I try to "print preview" my notebook, or convert it through the terminal with the command "ipython nbconvert mynotebook.ipynb" it changes all the latex formulas to latex code. I put two images so you can see. Recently I realized that before installing anaconda it didn't do that. 
> Also, this appears in the javascript console:
> 
> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/nbconvert/html/custom.css
> 
> Failed to load resource: the server responded with a status of 404 (Not Found) https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
> 
> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/nbconvert/html/custom.css
> 
> Any suggestions?
> Thanks
> David
> 
> On Tue, Sep 9, 2014 at 9:16 PM, Raniere Silva <ra092767 at ime.unicamp.br> wrote:
> Hi David,
> 
> > Hi I'm beginning to use iPython Notebook on Chrome in a mac os X 10.9.
> > everything displays normally in the notebook, but when I export it with
> > nbconvert instead of diplaying the math text written in latex it shows the
> > latex code.
> 
> IPython Notebook uses MathJax to properly render LaTeX (it this was good or not
> is another discussion). When you use nbconvert it will export only the LaTeX
> formula hoping that you use MathJax (or other solution) to properly render
> LaTeX. If you are exporting it to HTML should be easy solve this problem. If you
> are exporting to another format it can be a little more difficult.
> 
> Hope this helps.
> 
> Raniere
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140910/a28ef29c/attachment.html>


More information about the IPython-dev mailing list