Open egoipse opened 4 years ago
Please provide a minimal working example using ReadZotero
and RMarkdown
that demonstrates the issue you refer to with RMarkdown
. The keys are different, but they're still unique and valid, so what's the problem?
Please provide a minimal working example using
ReadZotero
andRMarkdown
that demonstrates the issue you refer to withRMarkdown
.
Sure. Here it is:
require(RefManageR)
biblio<-ReadZotero(user=xxxxxxx, .params = list(tag="Tema 2", key="xxxxxxxxxxxxxxxxxxxx" ), delete.file = FALSE)
WriteBib(biblio, file = "bibliografia.bib", biblatex = TRUE)
The keys are different, but they're still unique and valid, so what's the problem?
The problem is that it is not possible the automatization of working flow. Since I cannot predict the citation key pattern, I have to create first the Bib file and then copy manually the key generated by RefManageR. It is not precisely an efficient workflow. I use reprex addin to copy the exact citation key from Zotero. So, if RefManageR creates a file with a citation key pattern diferent than the one I defined, it is not possible an automatic workflow.
Hi,
The citation keys patterns taken by RefManageR from Zotero are inconsistent and do not allow to incorporate bib references in RMarkdown correctly.
Creating a biblio file with ReadZotero function generates the following citation keys:
As you can see, the citation keys for books are totally diferent than from misc publication. The format I defined in Zotero Better BibTex plugin is exactly the misc's one. The output when exporting the same bilbliographic references directly from Zotero are exactly as I defined:
I know that misc item is pined as fixed key citation and the other ones do not, so that would explain the issue. Am I right? And if the case, is there other solution to the issue?