bib2df icon indicating copy to clipboard operation
bib2df copied to clipboard

problem with quotes

Open agricolamz opened this issue 5 years ago • 2 comments

Hi,

I found a problem parsing .bib file with quotes instead of curly brackets:

Here is a file

@BOOK{hoehlig97, 
  author = "Monika Hoehlig", 
  title = "Kontaktbedingter {S}prachwandel in der adygeischen {U}mgangssprache im {K}aukasus und in der {T}uerkei", 
  series = "LINCOM Studies in Caucasian Linguistics 03", 
  year = "1997", 
  publisher = "Lincom GmbH", 
  address = "Muenchen", 
}

Here is the code:

bib2df("test.bib") %>% 
   unlist() %>% 
   na.omit() %>% 
   View()

Here is the result:

CATEGORY	BOOK
BIBTEXKEY	hoehlig97
ADDRESS	Muenchen",
AUTHOR	Monika Hoehlig",
PUBLISHER	Lincom GmbH",
SERIES	LINCOM Studies in Caucasian Linguistics 03",
TITLE	Kontaktbedingter {S}prachwandel in der adygeischen {U}mgangssprache im {K}aukasus und in der {T}uerkei",
YEAR	1997",

As you see the problem is in the final ",.

I'm using bib2df v. 1.1.1

agricolamz avatar May 12 '20 07:05 agricolamz

Thank you @agricolamz. As I mentioned in #64 I also use quotes in my bib files and I am going to put a high priority on getting this functionality into the package.

kellijohnson-NOAA avatar May 23 '25 00:05 kellijohnson-NOAA

Thank you!

agricolamz avatar May 23 '25 04:05 agricolamz