Skip to content

toc2 export to html issue #1065

@dsovlk

Description

@dsovlk

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

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions