Export for pandoc/Capitalization in bibtex/biblatex
Hi there!
Just some info on my background: I am checking out Zotero at the moment and like it a lot so far. I used JabRef with Biblatex and Latex in the past. But because of the need to be able to deliver different file formats (doc/rtf, html, epub) I consider to switch to pandoc. And while I am at it, I considered switching to Zotero, too.
I have some issues with capitalization and using Zotero data in pandoc (or LaTeX)
The recommended way of putting titles in Zotero is this:
Some kind of title: Some kind of subtitle (I am not so sure with the subtitle - should it start with upper or lower case?)
This all works great so far. German titles work well, too. My only problem is with English titles that have proper nouns in it (e.g. English, German, Russia, Britain, China, person's names). I read that it should be put that way:
Some title with a name like John Doe
This way the styles will know that John Doe is a proper noun. This works if I directly export a citation from Zotero. But it does not work with Bibtex/Biblatex-export. I think Zotero should automatically wrap these proper nouns in {}. It could detect them the same way as it already does when exporting a citation directly from Zotero.
The reason I need the Bibtex/Biblatex-export (besides from probably still wanting to use my literature in LaTeX) is that I need it for pandoc as well. As I understand I could use MODS as well, but MODS export does not include keys to use in pandoc. Therefore this would be a nice thing to have as well. While I am at it: I would also be thankful if the keys would become shorter (AuthorYear style) or if there would be an option to customize them.
Just some info on my background: I am checking out Zotero at the moment and like it a lot so far. I used JabRef with Biblatex and Latex in the past. But because of the need to be able to deliver different file formats (doc/rtf, html, epub) I consider to switch to pandoc. And while I am at it, I considered switching to Zotero, too.
I have some issues with capitalization and using Zotero data in pandoc (or LaTeX)
The recommended way of putting titles in Zotero is this:
Some kind of title: Some kind of subtitle (I am not so sure with the subtitle - should it start with upper or lower case?)
This all works great so far. German titles work well, too. My only problem is with English titles that have proper nouns in it (e.g. English, German, Russia, Britain, China, person's names). I read that it should be put that way:
Some title with a name like John Doe
This way the styles will know that John Doe is a proper noun. This works if I directly export a citation from Zotero. But it does not work with Bibtex/Biblatex-export. I think Zotero should automatically wrap these proper nouns in {}. It could detect them the same way as it already does when exporting a citation directly from Zotero.
The reason I need the Bibtex/Biblatex-export (besides from probably still wanting to use my literature in LaTeX) is that I need it for pandoc as well. As I understand I could use MODS as well, but MODS export does not include keys to use in pandoc. Therefore this would be a nice thing to have as well. While I am at it: I would also be thankful if the keys would become shorter (AuthorYear style) or if there would be an option to customize them.
Here's the old ticket with discussion.
https://github.com/zotero/translators/pull/477
This one won't happen super soon, because as it stands now it needs a Zotero update.
Btw, @jogru, because I like the shorter authorYEAR format for my citation keys, I've always patched the BibTeX translator manually according to these instructions:
http://www.curiousjason.com/zoterotobibtex.html
https://github.com/zotero/translators/pull/477/files
for most purposes, that small edit will work just fine.
It doesn't have the hidden pref and may be overly zealous in escaping first letters, but that shouldn't impact functionality for you.
Edit: Here's what to do: replaced the writeField function in the BibTeX.js file from the patch linked above, and now capitalization seems to work fine.
Besides, now I have something to recommend to Zotero users who are averse to editing the translator files!