-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toc2 export to html issue #1065
Comments
This is related to the end of discussion in #1032. |
Things are not really clear, but updating jqueryui cdn seems to fix this issue. In order to fix your installation, you should locate toc2.tpl which must reside somewhere where the python packages are installed on your system, mine is here: |
[toc2] tentative fix for #1065 -- update jqueryui cdn and version
Thanks a million @jfbercher, your solution works like a charm for me! Really appreciate such a prompt reply! |
I have difficulties with "Save as html (with toc"): export to html itself works perfectly, but I can't see TOC afterwards in html file.
In javascript console I can see the following:
[toc2] working in non-live notebook: Error: Module name "base/js/namespace" has not been loaded yet for context: _
http://requirejs.org/docs/errors.html#notloaded
at C (require.min.js:8)
at g (require.min.js:26)
at toc2.js:15
at Object.execCb (require.min.js:29)
at $.check (require.min.js:18)
at $.enable (require.min.js:23)
at Object.enable (require.min.js:27)
at $. (require.min.js:23)
at require.min.js:8
at v (require.min.js:7)
and then
Uncaught TypeError: $(...).draggable is not a function
at create_toc_div (toc2.js:284)
at Object.table_of_contents (toc2.js:535)
at Untitled22.html:14676
at Object.execCb (require.min.js:29)
at $.check (require.min.js:18)
at $.enable (require.min.js:23)
at $.init (require.min.js:17)
at require.min.js:26
Mac OS 10.11.6, in both Chrome and Safari. Fresh installation of Anaconda
jupyter notebook --version
5.0.0
python --version
Python 2.7.13
Notebook extensions were installed with conda:
conda install -c condo-forge jupyter_contrib_nbextensions
any help would be highly appreciated.
The text was updated successfully, but these errors were encountered: