Open pythongirlx opened 7 years ago
I have the same exact problem, I wish they can solve due to all package is awesome but this part does not work.
Hi @pythongirlx, @nikorose87 Sorry, I missed the first issue. Can you
Thank you @jfbercher
The Javascript console says:
TypeError: callback is not a function
And the box inside the error mentions the following:
init_cells http://localhost:8888/nbextensions/latex_envs/initNb.js:135:17
ActionHandler.prototype.call actions.js:992
ToolBar.prototype.add_buttons_group/</fun< toolbar.js:111
dispatch jquery.min.js:2
add/y.handle jquery.min.js:2
Let me know if you require the example notebook.
Regards.
@nikorose87 Yes, please upload somewhere an example notebook + bibtex file
Example:
- Concept adopted by \cite{Davis1996} in which they defined this concept as: The resistance that the muscle and other soft tissue structures that cross a joint offer during gait in response to an applied moment.
I have to mention that the compiled text works perfect, I mean, generates the link to the reference section and It visualizes either apa-liked, numbered or reference, but in the reference section it shows: [Davis1996] !! _This reference was not found in biblio.bib _ !!
.
bib file citation example:
Automatically generated by Mendeley Desktop 1.19.1 Any changes to this file will be lost if it is regenerated by Mendeley. BibTeX export options can be customized via Options -> BibTeX in Mendeley Desktop @article{Davis1996, abstract = {Dynamic joint stiffness (the slope of joint angle-moment plot) is defined as the resistance that the muscles and other soft tissue structures that cross a joint offer during gait in response to an applied moment. This paper documents this concept for the ankle in normal gait and explores its potential clinical utility in pathological gait. Mean ankle stiffness was computed during the second rocker interval of stance phase for 28 normal pediatric ambulators and found to be 0.0598 N-m/kg/deg. Several patients with cerebral palsy were evaluated pre- and post-treatment with respect to their ankle stiffness.}, author = {Davis, Roy B. and DeLuca, Peter A.}, doi = {10.1016/0966-6362(95)01045-9}, file = {:home/eprietop/.local/share/data/Mendeley Ltd./Mendeley Desktop/Downloaded/Davis, DeLuca - 1996 - Gait characterization via dynamic joint stiffness.pdf:pdf}, isbn = {0966-6362}, issn = {09666362}, journal = {Gait and Posture}, keywords = {Angle-moment relationships,Ankle compliance,Ankle stiffness,Gait analysis,Joint kinetics}, number = {3}, pages = {224--231}, title = {{Gait characterization via dynamic joint stiffness}}, volume = {4}, year = {1996} }
I've tried changing the name, the location, and nothing works, I am attaching the metadata info for this package:
"latex_envs": { "eqNumInitial": 1, "eqLabelWithNumbers": true, "current_citInitial": 1, "cite_by": "key", "bibliofile": "biblio.bib", "LaTeX_envs_menu_present": true, "labels_anchors": false, "latex_user_defs": false, "user_envs_cfg": false, "report_style_numbering": false, "autoclose": false, "autocomplete": true, "hotkeys": { "equation": "Ctrl-E", "itemize": "Ctrl-I" } } }
I wish it will help!
Sorry. It definitively works for me.
Download the file in https://gist.github.com/jfbercher/b26166088cee0aacffafbef455e1a69e (raw/save as) and check if it works, after changing the biblio filename to test2.bib
in the LateX configuration toolbar (press enter after editing).
[of course execute the 2nd cell which creates the bib file in current directory]
Thank you so much!
It worked. It seems like the automatic generation of the bib file by mendeley is not being recognized by your code. I made a clean bibtex file with the references and worked perfect.
I am facing the same issue. The extension does not work perfectly with Mendeley generated bib file. I have tried copy-pasting some of the entries to test with: https://gist.github.com/jfbercher/b26166088cee0aacffafbef455e1a69e Some worked and others don't work. I can't identify why. I have 1442 document in Mendely so it can't be a misery to generate an entry for all them. @nikorose87 how did you generate the "clean" bibtex file?
When I use "\cite{bibtexkey}", it only displays (?). If I then generate the reference list, it tells me: "!! This reference was not found in library.bib !!", even though it most definetely is in there. I generate my .bib via Mendeley.