crsh / citr

RStudio Addin to Insert Markdown Citations
Other
407 stars 46 forks source link

Bib File Not Found #12

Closed DRManager closed 7 years ago

DRManager commented 7 years ago

I was able to get citr to work first time installed. However, I have an issue to load the bib file.

The symptom is as following: it can find the bib file from YAML, but not be able to load it in the citation.

Warning: Error in RefManageR::ReadBib: lex fatal error: fatal flex scanner internal error--end of buffer missed

bib_issue

crsh commented 7 years ago

Hi @DRManager, could you upload a copy of your bibliography file so I can take a closer look?

DRManager commented 7 years ago

Hi Frederik,

I attached the bib file exported from Zotero for reference. Could you take a look if it is due to file format or Shiny loading issue? The bib file has been zipped for uploading purpose.

Thanks,

SiGe.zip

Richard

On Sat, Apr 8, 2017 at 5:23 AM, Frederik Aust notifications@github.com wrote:

Hi @DRManager https://github.com/DRManager, could you upload a copy of your bibliography file so I can take a closer look?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/crsh/citr/issues/12#issuecomment-292714705, or mute the thread https://github.com/notifications/unsubscribe-auth/ANg98I__5XsvgS0OP2xK4PEOD5Vg_9Uiks5rt3xGgaJpZM4M3gRf .

crsh commented 7 years ago

I'm still working on this. It appears that the problem is the cited-references field. For some references it contains a lot of content (>17000 characters). If I remove those fields the file is read fine. This is not per se a citr-problem but related to bibtex::read.bib. I'm trying to figure out a way to patch the function to avoid this problem. For now, you might want to try citr's Zotero integration and maybe try to not export the cited-references field via BetterBibTeX.

crsh commented 7 years ago

It appears there is finally some movement on this over at the bibtex repository. There are some suggestions on how to patch this problem until the fix is released.