-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
configuring the ref command #463
Comments
This seems like something that should be customizable, but it will take some work to do. So leave this issue open :)
You can define another key, eg to use f7 and f8: #+BEGIN_SRC emacs-lisp |
They all work, thanks a lot! |
This allows you to set a default ref type and adds cref types. The manual was updated.
I think it is possible to customize this now. The variable org-ref-default-ref-type now controls the default type, and I added cref and Cref links as ref types. |
That's great thanks! I will try once I get the chance to update org-ref |
I can confirm that they both work: cref and Cref are at the bottom of the ref type list, and I can (setq org-ref-default-type "cref") to get cref: links without going through the list. Thank you very, very much! |
In #463 (comment):
stupid question, how does one restrict this override to latex exports? since otherwise this destroys exports to other formats ... thanks! |
you could try something like: (org-link-set-parameters "ref" :export |
Hi,
I have two small configuration questions:
I would like to use cleveref for LaTeX export, is there a way of changing \ref to \cref by configuring an org-ref variable?
My lisp is very poor, how do I bind the org-ref insert ref and insert label commands to keys?
The text was updated successfully, but these errors were encountered: