ToC magic does not work in IPython 3.0
jankatins opened this issue · 3 comments
Edit: just found out that there is a new version which works as a nbextension -> maybe the nbtoc magic should be removed?
I see three version how this could be solved:
- remove the magics version of ToC
- raise a exception with the proper "replacement message" in the nbtoc magic
- replace the css and js files it with the files in nbextension
I can prepare a PR for all three, just tell me what you want :-)
I'm AOK with removing the magics version. I haven't used it since the js version was introduced ages ago. There is one advantage of the magic one, though - it works in nbviewer (or, it did when it worked).
My TOC nbextension is also not working properly (Win7, Anaconda 2.2 python distro, ipython 3.0.0, chrome browser). The ToC button contains no text, and the ToC widget itself doesn't display the headings - only the "Contents [-]" title is visible, with a small graphic icon below which looks like it might be a list scroll slider. I guess it is just not detecting the heading cells in my notebooks.
I gather from the discussion above that the solution is to remove the 'magics version of ToC'. How exactly do you do that?
[EDIT: OK, it's working now, after the 4th attempted reinstall. I have no idea why, but am happy to see it back! It would be great if this excellent extension was just baked into ipython notebook]