Re: [sage-devel] Jupyter notebook by default?

2016-09-10 Thread kcrisman
On Friday, September 9, 2016 at 6:51:00 PM UTC-4, Jason Grout wrote: > > Nice! That's even better that it works out-of-the-box! > >> >> +1 Yes, that is great that the same hooks work in Jupyter for this - and thanks Samuel for using this to answer the original post. -- You received this mes

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread Jason Grout
Nice! That's even better that it works out-of-the-box! Jason On Fri, Sep 9, 2016 at 6:06 PM Volker Braun wrote: > > > > > On Friday, September 9, 2016 at 2:53:29 PM UT

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread Volker Braun
On Friday, September 9, 2016 at 2:53:29 PM UTC+2, kcrisman wrote: > > Sorry for the necropost, but I couldn't find any other canonical place to > mention this: > > htt

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread kcrisman
> A bit more robust in escaping: > >> >>> Thanks. I don't know enough about the Jupyter nb to know whether there is an easy way to get it to render HTML output - perhaps %%html , which would seem to me to be what is asked for but I don't use it myself. -- You received this message because yo

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread Jason Grout
A bit more robust in escaping: try: from html import escape # python 3.x except ImportError: from cgi import escape # python 2.x from IPython.display import HTML def table(data): rows = [["%s"%escape(str(i)) for i in data[0]]] rows.extend([["%s"%escape(str(i)) for i in row] for

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread Jason Grout
I don't think we have a good table-printing function built into IPython. A simple one is probably pretty straightforward: try: from html import escape # python 3.x except ImportError: from cgi import escape # python 2.x from IPython.display import HTML def table(data): rows = [["%s"

Re: [sage-devel] Jupyter notebook by default?

2016-09-09 Thread kcrisman
Sorry for the necropost, but I couldn't find any other canonical place to mention this: https://ask.sagemath.org/question/34782/how-to-render-html-or-latex-tables-in-jupyter-notebook/ Likely this is a fairly easy hook thing or the pretty_print issue but thought it should be here for completeness.

Re: [sage-devel] Jupyter notebook by default?

2016-01-27 Thread kcrisman
> > I surprisingly don't remember even one user request for such > tinymce style wysiwyg editing for SMC. And our users are constantly asking > for the functionality they feel they really need... I'm very surprised by > this lack of demand. However maybe they don't know what they want. > >

Re: [sage-devel] Jupyter notebook by default?

2016-01-26 Thread William Stein
On Tuesday, January 26, 2016, kcrisman wrote: > > >> >> For what it is worth, SageMathCloud has a buttons/lists, etc. for >> editing markdown in Sage worksheets, and also a realtime preview >> markdown editor for md files. Two screenshots attached. I also fully >> implemented a realtime WYSIWYG

Re: [sage-devel] Jupyter notebook by default?

2016-01-02 Thread William Stein
On Saturday, January 2, 2016, Volker Braun wrote: > You still haven't understood that this is about how to create new > notebooks. We have the legacy support covered by shipping the old notebook. > Also, I don't recall Microsoft bundling a free copy of word 2007 with word > 2010, you are comparin

[sage-devel] Jupyter notebook by default?

2015-12-18 Thread Jeroen Demeyer
Should the Jupyter notebook be the default notebook for the next Sage 7.0 release? I don't really have an opinion on the matter. Pros: * Nice tracebacks! * The Jupyter notebook is a mature well-maintained project, unlike SageNB. It is widely used in the "scientific Python" community. * Avail