You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During debugging, I came across another unfortunate instance of bibtex not handling newer bibliographies that are served by large publishers under the labels ‘BIB’, ‘BIBTeX’ etc. but are designed for BIBLaTeX instead. Consider this:
However, it had journaltitle, which is virtually the same! Here is how we reproduce the error:
j<- c(author="Dagsvik, John K. and Hægeland, Torbjørn and Raknerud, Arvid",
year="2011", journaltitle="Journal of Applied Econometrics",
title="Estimating the returns to schooling: a likelihood approach based on normal mixtures",
doi="10.1002/jae.1172", issn="1099-1255", number="4", pages="613--640",
volume="26", publisher="Wiley", language="english", langid="english")
attributes(j) <- c(attributes(j), list(entry="Article", key="dagsvik2011estimating"))
>bibtex:::make.bib.entry(j)
NULL
An easy fix is possible: read journalname as journal:
Hi @Fifis thanks for the report and suggested patch. Do you want to submit a PR or would you like me to?
Regarding the journaltitle vs. journal, we recently moved the backend from C to being parsed completely in R. This may not have been covered by our original unit tests and, thus, why it might see odd for this to be MIA.
I tried adding a PR with unit tests, but it failed due to other errors (some instances of wrong bibliography in other test cases?..). Please help me fix this... this is my first ever PR, and I am willing to learn how not to break things.
During debugging, I came across another unfortunate instance of
bibtex
not handling newer bibliographies that are served by large publishers under the labels ‘BIB’, ‘BIBTeX’ etc. but are designed for BIBLaTeX instead. Consider this:However, it had
journaltitle
, which is virtually the same! Here is how we reproduce the error:An easy fix is possible: read
journalname
asjournal
:A modification of the function to reflect this change would be as follows – combining it with my previous fix for handling dates:
I hope that it helps withe the essential elements generated in modern bibliography management tools...
Yours sincerely,
Andreï V. Kostyrka
The text was updated successfully, but these errors were encountered: