Skip to content
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

orcb-key not activated with org-ref-clean-bibtex-entry #1026

Open
Cletip opened this issue Aug 16, 2022 · 1 comment
Open

orcb-key not activated with org-ref-clean-bibtex-entry #1026

Cletip opened this issue Aug 16, 2022 · 1 comment

Comments

@Cletip
Copy link

Cletip commented Aug 16, 2022

Hello,

My problem is quite simple: when using the command "org-ref-clean-bibtex-entry", orcb-key does not find the duplicated keys. Try with these two entries for example (just take same entry) : 

@book{joubert-2011-diction,
  author = {Joubert, Bernard},
  title = {Dictionary of banned books and newspapers: by arrest{\'e}s
                  ministries from 1949 to the present},
  publisher = {{E}d. du Cercle de la Librairie},
  date = 2011,
  edition = {2. {\'e}d., rev. and updated},
  isbn = 9782765410058,
  location = {Paris},
  pagetotal = 1277,
  shorttitle = {Dictionary of banned books and newspapers},
}

@book{joubert-2011-diction,
  author = {Joubert, Bernard},
  title = {Dictionary of Banned Books and Newspapers: by arrest{\'e}s
                  ministries from 1949 to the present day},
  publisher = {{E}d. du Cercle de la Librairie},
  date = 2011,
  edition = {2. {\'e}d., rev. and updated},
  isbn = 9782765410058,
  location = {Paris},
  pagetotal = 1277,
  shorttitle = {Dictionary of banned books and newspapers},
}

Moreover, when calling orcb-key on an entry (added "interactive" in the function), it works perfectly well.

I must be missing something obvious (maybe), but I don't know what...

@jkitchin
Copy link
Owner

something weird is definitely going on, it is related to the bib file not getting parsed right (or at all maybe) when that function is not called interactively. I am not sure why yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants