Brace mistake by Exporting to BibTeX
Hi,
I need help with exporting my data to a BibTeX file.
Here an example of an output:
"@book{hertel_atom-_2008,
title = {Atom-, Molekul- Und Optische Physik 1: Atomphysik und Grundlagen der Spektroskopie},
isbn = {9783540306139 3540306137},
language = {German},
publisher = {Springer Verlag},
author = {\{Hertel\} and \{Schulz\}},
year = {2008}
}"
The problem now is the output of the author as you maybe can see (should be "author = {Hertel and Schulz},"). What is wrong?
Everything else is fine. I am using Zotero on MacOs. Version 3.0.11.1
If you have an idea what could be wrong, let me know.
THX!
I need help with exporting my data to a BibTeX file.
Here an example of an output:
"@book{hertel_atom-_2008,
title = {Atom-, Molekul- Und Optische Physik 1: Atomphysik und Grundlagen der Spektroskopie},
isbn = {9783540306139 3540306137},
language = {German},
publisher = {Springer Verlag},
author = {\{Hertel\} and \{Schulz\}},
year = {2008}
}"
The problem now is the output of the author as you maybe can see (should be "author = {Hertel and Schulz},"). What is wrong?
Everything else is fine. I am using Zotero on MacOs. Version 3.0.11.1
If you have an idea what could be wrong, let me know.
THX!
I entered them by adding a new book and then in the field Author "(full name)". Then an other author with the plus-sign.
The first names are unimportant in my case.
By the way: It might be interesting for others to have a shortcut for getting:
\cite{hertel_atom-_2008}
as a solution is given in a discussion here: "Drag and Drop Bibtex \cite{}".
Thanks!
@book{hertel_atom-_2008,
title = {Atom-, Molekul- Und Optische Physik 1: Atomphysik und Grundlagen der Spektroskopie},
isbn = {9783540306139 3540306137},
language = {German},
publisher = {Springer Verlag},
author = {Hertel, {I.V.} and Schulz, C.-P.},
year = {2008}
}
THX!!!
@misc{r_core_team_r:_2012,
address = {Vienna, Austria},
title = {R: A Language and Environment for Statistical Computing},
url = {http://www.R-project.org/},
author = {\{R Core Team\}},
year = {2012},
note = {{ISBN} 3-900051-07-0}
},
May translators are up-to-date.
I saw there is a bibtex.js translator on github (https://github.com/zotero/translators/blob/master/BibTeX.js) and perhabs this is already fixed there... How can I change the used bibtex.js?
However, I've been using {} occasionally in some fields to tell BibTeX to display exactly as stated (e.g. for capitalisation). Also occasionally putting a {} in the "report type" field for a techreport when I want to reference a report that does not have a specific report name as such. This previously stopped BibTeX from automatically inserting "Technical Report". With one of the latest updates all braces are coming through as {\, which isn't nearly as helpful. Is there any way (other than going through the Bibtex file and doing in mannually) of getting round a { in a Zotero field appearing as \{ in Bibtex?? Thanks for your help with this
I don't see how we can support both use cases though. How can Zotero know which braces should be escaped and which should remain? The best we might be able to offer is a global option that either escapes all braces or none. Perhaps someone has an idea on how to better implement this.
If you want to, you can find bibtex.js in the translator folder of your Zotero data directory http://www.zotero.org/support/zotero_data and modify it, but beyond editing in the bibtex file that's the only option we can offer you.
edit: so basically what aurimas says & I also don't have an idea how to better solve this.
I would have thought in general that braces would appear literally very rarely in most fields (except maybe urls), and since they form a handy way of manipulating entries so they feed through to BibTeX properly, not escaping them would be a better default option for many BibTeX users. That's maybe just because I can't think of any examples however.
But anyway, thanks again.