-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Bibliography link not being detected? #1038
Comments
hm. is the link active, i.e. is it blue, and can you click on the bibliography link to open it and there is a tooltip on it? |
Yes, the link is blue, clicking it opens the file and hovering over it says either "Bibliography link" or "File exists at references.bib", dependent on where I hover. |
I've just discovered that it seems to detect it fine without setting |
I see. if you have just updated from org-ref 2 to org-ref-3, there is probably some reconfiguration to do. I think you need:
The helm command is
|
I should already have these things in my config, The full configuration in my
|
I don't know what the issue is then. With that setup, C-c ] should insert a link from your bibliography. It should look like it comes from helm-bibtex, but I think it doesn't actually come from helm-bibtex. You can't do that directly from helm-bibtex I think. It maybe used to be that way, I think in v2 I directly monkey-patched helm-bibtex actions to do this, but in v3, that is not the case I think. |
I have a bibliography link like so at the bottom of my document:
However, when I use
C-]
to insert a link, there are no references displayed in the list. If I putat the top of the document and use
helm-bibtex-with-local-bibliography
, the references are detected with no problem. In addition, I can work around the problem by addingto the top of the file, and then
C-]
detects my references as expected. It is just when I rely solely on the bibliography link at the bottom of my document that it doesn't work.This is only something I've noticed recently; I've had org-ref working just like this in the past. In addition, helm-bibtex works fine in LaTeX mode, it's just in org-mode that it breaks.
Any ideas on how I could fix this?
EDIT:
Additionally, I have just noticed that this also causes the LaTeX exporter not to work, so even this is not detecting the bibliography link.This was just because I hadn't set up my config properly. If I ensure bibtex is called in the LaTeX export command, the references are added to the document correctly.The text was updated successfully, but these errors were encountered: