[sage-devel] Re: Sage Days 70: announcement
Hi William, Le jeudi 30 juillet 2015 10:31:10 UTC-7, William a écrit : Hi People-who-might-care, There is going to be a small-ish Sage Days in Berkeley, CA (in Evans Hall) **November 9-13, 2015**. So far: That's around the time I have to go back to France to get my Visa renewed, but I should still be around. Min and Thomas will most likely be in Europe. I guess the Jess Hamrick might be around too. -- Matthias -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Please review ipython notebook
Ok, so probably a little late (seem to be closed), and I'm supper not used to track, so I'll comment here. Looking at code in http://git.sagemath.org/sage.git/commit/?id=2fc399e25960514a3164080f800d867696480c49 TEMPLATE_PATH could technically be a list of path, as IPython uses Jinja filesystem loader (http://jinja.pocoo.org/docs/dev/api/#jinja2.FileSystemLoader) Thus you should be able to set it to just do : [os.path.join(SAGE_EXTCODE, 'notebook-ipython', 'templates'), path_to_ipython_template], The trick is, to set it to also use path_to_ipython_template_parent_dir : [ sge_template , ipython_parent_template , ipython_template ] which I'll shorten as [A,B,C] Then the file foo.html of (C) you want to overwrite, you create a file with the same name in (A), that extends templates/foo.html, that jinja find through (B). The file you don't overwrite, jinja find in C. Note that the template in templates/foo.html is because (B/templates == C). Does it make sens ? (though you might still need to ship a huge notebook.html) but we can fix that on IPython so that you can just overwrite the links. -- M -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Please review ipython notebook
Hey, (response following ping of William on IPython ML) Looks nice I haven't looked at everything from your modifications, but I would say that it should be possible to selectively extend the templates to avoid the copy/past which should remove roughly 400 lines and some maintenance burden. Havent diffed the files with IPython 2.3 (I assume you based your work on IPython 2.2/2.3. You might also want to create your own codemirror mode to have correct syntax highlighting in the notebook (but that should be a separate patch I guess, I can point you to the right resources to do that). Most of the rest of the code is Sage internals, so I'n not super qualified to judge, but after a quick look I haven't seen anything obviously wrong. (I'm not used to track, so I still struggle like a noob, and will take longer look later.) Le lundi 6 octobre 2014 16:36:30 UTC+2, Volker Braun a écrit : anybody? On Monday, September 29, 2014 12:48:55 PM UTC+1, Volker Braun wrote: Now would be a good time to review the IPython notebook: http://trac.sagemath.org/ticket/16996 There is clearly more to be done to make the integration perfect, and we could also always wait for the next IPython version. But a bird in the hand is worth two in the bush... -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.