-
-
Notifications
You must be signed in to change notification settings - Fork 242
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 loading org-ref-latex #1116
Comments
that sounds like you have an old version of org that is loading. If you run M-x org-version what do you see? |
I get Note: I am trying to get clickable citations/preview in auctex and that's why I am trying to add org-ref-latex to my setup. Right now it doesn't work, and maybe this is why. |
When I check my package list, for org I get the information below. Package org is built-in.
Required by: ox-pandoc-20231222.1103, org-super-agenda-20240301.1602, Org is a mode for keeping notes, maintaining ToDo lists, and doing Org mode develops organizational tasks around NOTES files that Installation and ActivationSee the corresponding sections in the manual at https://orgmode.org/org.html#Installation DocumentationThe documentation of Org mode can be found in the TeXInfo file. The A list of recent changes can be found at |
I was able to install org version 9.6.30 but I still get the same warning/error message |
It seems very weird, I wonder if the wrong org is loaded when org-ref is loaded. In my init files I have something like:
I think you could replace org-ref-ivy with org-ref-helm. I don't know why I do it this way, the code is quite old, but I guess there was a reason for it. I make sure org is the first thing that is ever loaded before anything else, otherwise a default system org might get loaded first, and that might be a version 8 before the new link commands were defined? |
Thanks. I've tried that approach with either helm or ivy and neither solved the issue with loading org-ref-latex. |
That is very strange. It must be coming from trying to load You might check this page: another possibility might be to put your org-ref loading code inside this macro.
|
I tried that but not success so far. What I have discovered is that the warning/error is caused by this block (if I comment out the other instructions after this block and recompile/load org-ref-latex):
|
Do you mean it happens after this block? That particular defun doesn't even have org-related code in it. can you skip loading org-ref-latex in your init and then after your Emacs loads, load it with M-x load-library org-ref-latex? Is there any output if you start emacs with --debug-init? Another way I would debug this is to also skip loading it in your init, and then evaluate each form in org-ref-latex and check the traceback when you get to the error. |
I agree that it is odd. What I did exactly was to comment the entire contents (except the final provide), and then gradually remove the comments. It loaded without errors until I loaded that segment. I was indeed surprised because as you say it does not appear to call the problematic function. |
When starting emacs I get the following error message:
Warning (comp): /home/vasco/.emacs.d/elpa/org-ref-20240509.1211/org-ref-latex.el: Error: Symbol's function definition is void org-link-set-parameters
My org-ref setup is as follows:
Am I missing something?
Thanks
The text was updated successfully, but these errors were encountered: