Syle request: BibTex with key as in "Export library"
Dear all,
I am using latex/bibtex. Is there any style, like http://www.zotero.org/styles/bibtex , which allows having the citation key formatted as "firstauthor_firstwordoftitle_year", the same citation key one gets when Zotero's library is exported as Bibtex (file->export library)?
Thank you
I am using latex/bibtex. Is there any style, like http://www.zotero.org/styles/bibtex , which allows having the citation key formatted as "firstauthor_firstwordoftitle_year", the same citation key one gets when Zotero's library is exported as Bibtex (file->export library)?
Thank you
but I'm wondering why you'd need that? You can export individual items using right-click --> Export selected items and you can set "Bibtex" (or BibLaTex) as the default output format (under export in the preferences), so you get it using drag&drop.
However, I'm still interested in having or implementing such style (if possible). Indeed, I found very useful the libreoffice plugin which allows to find and cite references directly inside a word-processor document (having them appearing nicely with, eg, "Nature" style). Then I change style to bibtex and have a tex document ready to be used and bibliography at the end in bib style, but citation keys are different than the ones in the bibliography exported from Zotero (so I cannot use just one bib file for the various documents). So far, I defined a citation key which is DOI/ISBN (hence unique), but using the "default" zotero bibtex one would be great and would save me from having a document-dependent bib file.
I guess an alternative could be to change the BibTeX.js translator to have the same key as the bibtex CSL (eg DOI/ISBN in my case):
//%a = first author surname
//%y = year
//%t = first word of title
var citeKeyFormat = "%a_%t_%y";
Isn't it possible to extract first author surname and first word of title in the CSL?