Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jkitchin/org-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 17, 2024
2 parents 995631c + ae7e789 commit 101a15a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions org-ref-arxiv.el
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ Returns a formatted BibTeX entry."
(org-ref-replace-nonascii)
(bibtex-generate-autokey)))
(doi (assq 'doi entry)))
(if doi
(doi-utils-doi-to-bibtex-string (nth 2 doi))
;; no doi, so we fall back to the simple template
(unless (and doi
(ignore-errors (doi-utils-doi-to-bibtex-string (nth 2 doi))))
;; no doi or inactive doi, so we fall back to the simple template
(format arxiv-entry-format-string key title names year arxiv-number category abstract url)))))


Expand Down

0 comments on commit 101a15a

Please sign in to comment.