David Li
David Li
@sahilshekhawat FYI, I'm working on the Travis configuration right now.
Overall, this is a good start. The notebook JSON is being generated correctly (I think), but there are little issues preventing it from working. I've put up a demo but...
I would advise using a different method than passing the result dictionary back to the `result.ipynb` view, because it's causing HTTP 414 errors (the request is too long). Instead, pass...
About the issue with `\\`: the behavior is correct. `\frac`, when encoded as json, will result in the string `"\\frac"`, and this should display to the user, because JSON requires...
You need to strip the `` tags surrounding the LaTeX.
And replace them with `$$`.
(I think).
The double backslashes are fine in the JSON. If you're stripping tags, _only_ strip the script tags.
Also, is it necessary to tell IPython that the cell contains LaTeX?
Demo: http://32.sympy-gamma-li.appspot.com/ The JSON generation is producing an invalid result: - http://nbviewer.ipython.org/url/32.sympy-gamma-li.appspot.com/result.ipynb?input=integrate(2*x%20+%20y,%20(x,%201,%203)) - http://nbviewer.ipython.org/url/32.sympy-gamma-li.appspot.com/result.ipynb/?i=summation(1/2**i,%20(i,%200,%20oo))