Org-ref is a packae that adds various types of refences and links for Org-mode. It also provides a variety os sub-packages for downloading bibtex references and PDFs from various sources like
ArXiV , DOI, and many more.
We can also insert links to papers like so, citet:holden2017
Warning (:warning): Warning: You are using deprecated variables in org-ref that will be removed in version 3. The following variables will not be used in version 3: - org-ref-bibliography-notes - org-ref-default-bibliography - org-ref-pdf-directory They are replaced by these variables in `bibtex-completion': - bibtex-completion-notes-path - bibtex-completion-bibliography - bibtex-completion-library-path There are some other changes that are likely to break existing workflows, for example all non-LaTeX exports will be handled by CSL, and all the old export code has been removed. For more details see https://github.com/jkitchin/org-ref/tree/org-ref-3#readme.
2.1. Setup Dependencies
2.2. Package Install
2.3. Sync Library Path
As mentioned before, let's make sure to sync our library path with BibTeX Completions. Also
org-ref needs full file paths for some reason…
(setq reftex-default-bibliography bibtex-completion-bibliography) (setq org-ref-bibliography-notes nil) (setq org-ref-default-bibliography bibtex-completion-bibliography) (setq org-ref-pdf-directory (car bibtex-completion-library-path))
When exporting to LaTeX, let's make sure to tell the exporting process that we wish to use our own defined variables.
(setq org-latex-prefer-user-labels t)
2.6. Feature Provide
We can now reference this equation like so, eqref:mytesteq