cite2c
cite2c copied to clipboard
New icons don't appear in Jupyter notebook
While my python 3.6 fully updated conda environment was active, I did:
- pip install cite2c
- python -m cite2c.install
After launching a new notebook server, and opening a notebook, I was expecting to see the new icons meantioned in the README, but they are not there.
FYI, I am using the nbextension configurator with a couple of other extensions that create new icons in the notebook toolbar, i'm just thinking if you used absolute icon positions, maybe they are overwritten by some of my other extensions? Otherwise I don't see any errors.
Update: I also tried GH master, with no change.
I just have the same problem.
Are there any errors in the browser's Javascript console when the icons fail to show up?
In nbconfigurator, I have the following message:
cite2c/main
This nbextension is enabled in the notebook json config, but doesn't provide a yaml file to tell us how to configure it. You can still enable or disable it from here, though.
section: notebook
require path: cite2c/main
compatibility: ?.x
What should the missing yaml file contain?
Update: I have upgraded jupyter notebook to the latest version, and now the icons appear, and it gives me an option to search zotero for a reference. However, even though I have the Zotero app running on my machine, it does not seem to be able to find any references in my Zotero folder, and there still doesn't seem to be a yaml file that tells nbextensions how to configure it.
tried it again with current version of pip and most recent everything from conda-forge with Python 3.6.
Got these errors in the Javascript console:
Now I'm wondering if there isn't a clash with the toc2 extension, because it wants to set the same icon?
Don't know whether this is still ongoing... but I saw, that next to the toc2 extension, the Exercise extension uses the fa-mortar-board
, too.
To avoid a potential clash, I changed the toolbar icons in my locally installed version.
I changed the icons to by replacing the font-awesome descriptions in
main.js
:
Jupyter.actions.register({
icon: 'fa-bookmark',
help: 'Insert a citation',
...});
Jupyter.actions.register({
icon: 'fa-book',
help: 'Insert bibliography',
.... });
This helped.
Don't know whether this is still ongoing... but I saw, that next to the toc2 extension, the Exercise extension uses the
fa-mortar-board
, too. To avoid a potential clash, I changed the toolbar icons in my locally installed version. I changed the icons toby replacing the font-awesome descriptions in
main.js
:Jupyter.actions.register({ icon: 'fa-bookmark', help: 'Insert a citation', ...}); Jupyter.actions.register({ icon: 'fa-book', help: 'Insert bibliography', .... });
This helped.
I got the same question. And after I disabled the Toc(2)
plug-in in the nbextension
, it turned to be normal. Maybe changng the icon locally like this would also help.