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

generate-autokey error #160

Open
joukeHijlkema opened this issue Jun 11, 2020 · 1 comment
Open

generate-autokey error #160

joukeHijlkema opened this issue Jun 11, 2020 · 1 comment
Labels
Possible bug Might be a bug Upstream bug Bug in Emacs, cannot be fixed in Ebib

Comments

@joukeHijlkema
Copy link

Hello Joost,
Thanks a lot for ebib, I'm using it a lot ! However I have an issue with autogenerated bibtex-keys.
When I hit ! ebib complains telling me [Ebib] cannot create key.

if I debug the bitex item in question:

@PhDThesis{<new-entry1>,
	keywords = {Encadre},
	date = {17/12/2019},
	year = {2019},
	institution = {L'Université de Toulouse ISAE},
	title = {Développement et validation expérimentale d'une modélisation numérique pour la simulation d'un
moteur hybride},
	author = {Jean-Etienne Durand}
}

bibtex-generate-autokey yields an empty string buit I can't seem to figure out why.

Any help would be great

Jouke

@joostkremers
Copy link
Owner

Is the .bib file that contains this entry a biblatex file? If so, that could be the cause.

bibtex-generate-autokey fails if it is called on a PhDThesis entry in a biblatex file. If you change the entry type to Thesis (and add a type field with the value PhD Thesis), things should work.

I would consider that a bug in bibtex.el, because even though biblatex deprecates PhDThesis as an entry type, it is a valid alias, so it's allowed to occur in a biblatex file.

@joostkremers joostkremers added Possible bug Might be a bug Upstream bug Bug in Emacs, cannot be fixed in Ebib labels Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible bug Might be a bug Upstream bug Bug in Emacs, cannot be fixed in Ebib
Projects
None yet
Development

No branches or pull requests

2 participants