Bibtex export doesn't contain journal abbreviations
Hi,
First let me say Zotero is amazingly useful! That said, I'm having difficulty exporting my collection to bibtex format and including the journal abbreviation. (Actions->Export Library...->Bibtex).
I intend to publish in Image and Vision Computing and they require journal references to be in abbreviated format. Is there anyway that I can select which format to use (full or abbreviated) on the export? I don't mind digging around through xml and js files or amending the database directly and I feel it might be useful functionality to include.
I'm sure I'm not the only person to have experienced this issue, so apologies if I'm bringing up something with an obvious solution or workaround, but I haven't been able to find anything related on this forum.
Any pointers greatly appreciated - I'm using 1.5beta btw,
Jim
First let me say Zotero is amazingly useful! That said, I'm having difficulty exporting my collection to bibtex format and including the journal abbreviation. (Actions->Export Library...->Bibtex).
I intend to publish in Image and Vision Computing and they require journal references to be in abbreviated format. Is there anyway that I can select which format to use (full or abbreviated) on the export? I don't mind digging around through xml and js files or amending the database directly and I feel it might be useful functionality to include.
I'm sure I'm not the only person to have experienced this issue, so apologies if I'm bringing up something with an obvious solution or workaround, but I haven't been able to find anything related on this forum.
Any pointers greatly appreciated - I'm using 1.5beta btw,
Jim
...
if(item.publicationTitle) {
if(item.itemType == "bookSection" || item.itemType == "conferencePaper") {
writeField("booktitle", item.publicationTitle);
} else {
// Uncomment next 3 lines to export abbreviated journal names
// if(item.journalAbbreviation) {
// writeField("journal", item.journalAbbreviation);
// } else
writeField("journal", item.publicationTitle);
}
}
...
where I added the commented lines. When you want the abbreviated journal names, just remove the comments in the last 3 commented lines. Otherwise full names are used. I hope this serves as a temporal fix for regular users until this is properly addressed.
Regards,
Jfr
http://www.zotero.org/support/zotero_data
open and edit with a text editor
Zotero already has an option to select journal abbreviation for bibtex export.
Well done Zotero team :)
--- BibTeX.js 2013-09-18 10:46:44.946348697 +0200
+++ BibTeX.abbrevFallback.js 2013-09-18 10:57:14.916348376 +0200
@@ -2401,7 +2401,11 @@
if(item.itemType == "bookSection" || item.itemType == "conferencePaper") {
writeField("booktitle", item.publicationTitle);
} else if(Zotero.getOption("useJournalAbbreviation")){
- writeField("journal", item.journalAbbreviation);
+ if(item.journalAbbreviation) {
+ writeField("journal", item.journalAbbreviation);
+ } else {
+ writeField("journal", item.publicationTitle);
+ }
} else {
writeField("journal", item.publicationTitle);
}
At least it works for me.
As I say above, using Zotero's automated abbreviation function for bibtex export isn't likely to happen, at least not anytime soon.
I just wonder if the Zotero's automated abbreviation function for bibtex export has been implemented now. I searched a lot but still can't find an answer for it.
Btw, if Zotero hasn't implemented the automated abbreviation function for bibtex export, is there a workaround to fix it? After all, such a function has been achieved in word processors.
Thanks a lot for your help.
The abbreviations will be generated by Zotero, not BBT, I'm just picking them up if you have it turned on and the reference doesn't have one set explicitly.
I am using Zotero to export my bibs to LATEX. The format of exported bib is like this:
@book{bellman_dynamic_1957,
address = {Princeton, N.J.},
title = {Dynamic programming},
publisher = {Princeton University Press},
author = {Bellman, Richard E.},
year = {1957}
}
When I want to enter the citation in my editor, I want this format: bellman_1957
and I don't want the abbrevation of title of journal. How can I fix this problem?
Sorry if my question is foolish. I am a beginner in using both ZOTERO and LATEX.