BibTeX export: Tag export strange
Hi, when exporting an entry from zotero to BibTeX format, the tags get additional curly braces at seemingly random position, spanning several tags. After a closer look, I think, the curly braces get added, whenever both "multi-word" tags (one tag including whitespace) and single-word (without whitespace) tags appear. The additional curly braces then span all the single-word tags (plus separating commas) plus the last word of the preceding tag plus the first word of the following tag, i.e. from whitespace to whitespace. Let's take an example:
zotero tags:
* useful stuff
* foo
* bar
* something more
The tags get BibTeX-exported as:
keywords = {useful {stuff,foo,bar,something} more},
A slightly different example:
zotero tags:
* foo
* bar
* useful stuff
* more
* most useful
* stuff
The tags get BibTeX-exported as:
keywords = {{foo,bar,useful} stuff,more,most useful,stuff},
Note, that this time, "most useful" did not get any curly braces, but they are in the beginning instead. In general, I think, these additional curly braces are superfluous and can be removed completely.
I'm running zotero 2.0b5 in Iceweasel (Firefox) 3.0.9 under Debian GNU/Linux (testing).
If you need any more info, please don't hesitate to contact me.
zotero tags:
* useful stuff
* foo
* bar
* something more
The tags get BibTeX-exported as:
keywords = {useful {stuff,foo,bar,something} more},
A slightly different example:
zotero tags:
* foo
* bar
* useful stuff
* more
* most useful
* stuff
The tags get BibTeX-exported as:
keywords = {{foo,bar,useful} stuff,more,most useful,stuff},
Note, that this time, "most useful" did not get any curly braces, but they are in the beginning instead. In general, I think, these additional curly braces are superfluous and can be removed completely.
I'm running zotero 2.0b5 in Iceweasel (Firefox) 3.0.9 under Debian GNU/Linux (testing).
If you need any more info, please don't hesitate to contact me.
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
But do you think, it's important to preserve case for tags? Maybe not. But if yes, could then maybe the logic for setting the braces be extended to also recognize the keyword-delimiter as a delimiter? That would feel more natural to me...
Thanks for the swift reply!
Many thanks in advance.