<p>Sorry for the brievty, answerd from my phone.<br>
Le 8 oct. 2012 03:01, "Juergen Hasch" <<a href="mailto:python@elbonia.de">python@elbonia.de</a>> a écrit :<br>
><br>
> Am 07.10.2012 13:37, schrieb Matthias BUSSONNIER:<br>
><br>
> > A recent modification allows you to add button to the toolbar dynamically.<br>
> > See PR #2127 for examples.<br>
> > It will allow you to modify toolbar without overwriting toolbar.js<br>
> I will look into that.<br>
><br>
> > --NotebookApp.webapp_settings=<Dict><br>
> > Default: {}<br>
> > Supply overrides for the tornado.web.Application that the IPython notebook<br>
> > uses.<br>
> ><br>
> > maybe providing a `template_path` key<br>
> > Something like<br>
> > IPython notebook --NotebookApp.webapp_settings={'template_path'='/my/path/to/template/folder/'}<br>
><br>
> I added<br>
> c.NotebookApp.webapp_settings = {'template_path':'c:\\Users\\hasch\\.ipython\\profile_nbserver\\templates\\'}<br>
> to my ipython_notebook_config.py and this works like a charm. Thanks a lot!<br>
><br>
> > Be aware that we will soon migrate the templates engine/organisation and the css framework we use.<br>
> > The modification should not be too invasive, but try not to heavily rely on the current state.<br>
> > We are doing it in order to facilitate customization, so feel free to give us feedback.<br>
><br>
> Yes, I think this has been written on the list before and this is why I want to keep the modifications in the user<br>
> profile.<br>
><br>
> As to customization, I do have a certain 'taste' on how I like to work. The IPython notebook fits extremely well to<br>
> that, with a few modifications. So I appreciate very much the fact that you want to improve customization.<br>
><br>
> So what would I like to be able to customize ?<br>
> - I want to quickly jump around in a notebook, do a small modification and quickly see the results<br>
> Therefore I made two modifications:<br>
> 1) Allow using PGUP and PGDOWN to scroll through a notebook quickly, even if a code cell is selected.<br>
> 2) Easy execution of the notebook code after I changed something. This is done through either running the complete<br>
> notebook from the start or, running the notebook but starting from the current cell.<br>
> - Hotkeys and the toolbars should be configurable. Preferably each calling a function that can be user defined, allowing<br>
> more than just mapping to a predefined functionality.</p>
<p>This one is pretty difficult to tackle. <br>
The keybindings are are spread allover the js files as we don't totally control what element get focus. Also some 'actions' need immediate counter measure sometime which might depend on the pressed key. </p>
<p>I think in particular to esc that close the websocket connexion on ff, but also all ctrl+m,x shortcut that can be done while holding ctrl, eventually trigetring ctrl+w, ctrl+q, ctrl+s... So even if we want to make it possible, I really doubt it will be advertised or recommended to play with user defined functions.</p>
<p>As for toolbar. With the latests merged PR it shoul be pretty easy to create your own.<br>
-- <br>
Matthias</p>
<p>> Juergen<br>
><br>
> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</p>