-
Notifications
You must be signed in to change notification settings - Fork 4
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
replace bib2df #13
Comments
Hi Simon :). I discovered a fun bug in the original bib2df today. Apparently if you don't have at least one space before and after the = when assigning fields, things go badly. Just thought maybe that'd be useful for you to know. Maybe you already know :) |
i just tried the R-package just called "bibtex", and I think it's not optimal because if a given entry don't have certain fields it's ignored. For example, for the bib file in grambank I get
I can't see an argument to tell it to chill and not be so strict. |
If the cldf-dataset in question has been created with cldfbench, then the writing of the bib-file is with pybtex which in turn writes Given that... it seems to me like the disadvantages that remain with bib2df is mainly that a) it gives this warning:
b) it gives this warning:
Both of these seem okay though, sometimes year is "n.d." etc and sometimes it struggles to parse names. Both fair warnings, but not that disruptive really, right? |
and then there's the aforementioned spaces issue which.. Yeah. Maybe reading in with read.lines, replacing and outputting would help? Haha! |
@SimonGreenhill what do you think about copying over some of the bib2df code into rcldf functions and solve the known issues? With proper accreditation to the original bib2df people of course. |
Don't want to have to maintain code for something that should be pretty standard! |
Sure, agreed. Just a suggestion, based on the title of this issue. I've been submitting PRs over at ropensci and am in conversation with the folks over there to see if they can push to CRAN soon. |
Good news! I'm in communication with the current caretaker maintainer of ropensci/bib2df, Prof Gianluca Baio. Several of the issues we've been having with the package have been fixed in the most recent version on GitHub. He hadn't considered a new CRAN release, but upon my request he said he'd look into it :)! |
https://github.com/ropensci/bibtex
The text was updated successfully, but these errors were encountered: