-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error retriving bibtex from doi #6
Comments
Update, there doesn't seem to be any issue when I add a breakpoint to the function and step through it. If history is any lesson, I am going to guess this stems from a missing require statement. |
Yes, you need to remove the "https://doi.org/" part when you query a DOI. Note that I've pushed a new branch (org-imenu) that hopefully will make things easier. I intend to merge it soon. If you want to test and give some feedback that would be wonderful. |
Just tested the new branch. Not sure if it fixes the issues but I will note that I am now getting the following error on starting emacs.
Also, would it be possible to add the unicode symbols on lines 341-343 of org-bib.el as defcustoms. They don't work with my current font (or some other issue) and I would prefer to replace them. I did this in my pull request: https://github.com/rougier/org-bib-mode/pull/7/files (edit: I added them as defvars but that can be changed) |
I removed the symbols and instead, you have a simple function to write the header. Currently it is: (defun org-bib-headline-format (entry)
(format "%s (%s)" (cdr (assq :title entry))
(cdr (assq :year entry)))) But you can rewirte it any way you like. For the org-imenu, did you install it (https://github.com/rougier/org-imenu/)? You'll also need pdf-drop-mode (https://github.com/rougier/pdf-drop-mode/) |
Thanks this helps.
Still having some issues with importing from doi.
Here is a doi: 10.1038/s41576-021-00434-9
running `org-bib-new-from-doi` gives
bibtex-end-of-entry: Wrong type argument: stringp, nil
Thanks!
|
You can test the doi with:
Did you drag and drop the pdf ? |
output: t
output:
no I did not drag and drop the pdf, I just called org-bib-new-from-doi and then inserted
at the minibuffer prompt |
Ahhh... just realized, it does work if I have org-bib-mode active but it doesn't work when bound to a global key binding... |
Sorry for delay in my answer. |
Yes (sorry for delay) |
sorry for delay again, this will be a long thread. Now i'm a bit lost with the issue. Last point was to implement a |
First, off, thank you for putting this package together!
My config
What I run to get the error
The error:
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: