Book sections have dois too
Nowadays, academic publishers assign dois not just to journal articles and books but also to chapters ('book sections' in the Zotero universe).
In fact I can perfectly well add a book section to Zotero using "Add items by identifier" (example: 10.1075/slsi.26.05cou), but the resulting item doesn't have that doi or identifier anywhere in Zotero. That seems inconsistent and (going forward) problematic, as it is a form of information loss.
In fact I can perfectly well add a book section to Zotero using "Add items by identifier" (example: 10.1075/slsi.26.05cou), but the resulting item doesn't have that doi or identifier anywhere in Zotero. That seems inconsistent and (going forward) problematic, as it is a form of information loss.
{:DOI: 10.1234/56789}
Note the colons before and after DOI
Proposal. While we're not there yet, a good solution (if it can be done) would be to have the "Add item by identifier" function put the DOI in the "Extra" field, to get not just the ability to cite DOIs (as bwiernik suggests), but more importantly, to achieve forward compatibility with the new functionality. I imagine that when the new functionality arrives, a simple conversion function could pick up DOIs from the Extra field and put them where they belong.
It would be rather cumbersome to have to add DOIs to a library later, and especially painful if you'd have to do it for items for which you had the DOI when you imported them! (And yes, I know I can do it manually now, but as an avid Zotero user, I dislike manual labour that could have been automated!)
I think the concern is that using something simpler can lead to false positives. How unlikely is it, e.g. that someone would start a note with "title: "?
E.g. we're using the {:: syntax currently for datasets as they are imported by translators to set them to the dataset item type.
edit: as bwiernik says, Frank won't care about how we handle this in regular Zotero. citeproc-js will obviously work either way. He needs the curly brackets for his supplementary data mechanism.
extra = {:itemType: dataset} {:version: 4}
What we're using for PMID/PMCID and what we would be using for anything else in the "pretty" version would be
extra = PMID: 123456
DOI: 10.123455
etc. where our reg-ex would only check start of new lines for the field.
It turns out that Zotero is not the only client that's "recommending" using this notation in the Extra field. Mendeley does so as well. So if we import these fields from Mendeley, we should automatically migrate them to the proper Zotero fields as they become available.
But overall, I agree that this notation is unnecessarily cumbersome and we can easily support more user-friendly "Label: value" format. I think it would be ok to support that for all CSL fields (given that a field is not already assigned).
How is the the "pretty" solution supposed to work? Upon exporting to CSL JSON, are the variables in the "Extra" field moved to their proper places? I.e.,
rather than
Hmm, doesn’t seem to work here (Firefox 37.0.1, Zotero 4.0.26.4). When I create a new entry with just "PMID: 1234567" in the Extra field and export it to CSL JSON, this is what I get:
Original commit: https://github.com/zotero/zotero/commit/f0bd1e77ffab6dbc7fbd600dc1acc11844aa2e02
Pull request for the relevant bug:
https://github.com/zotero/zotero/pull/659
Is this getting any closer to being rolled out?
Let me add that I continue to feel it’d be much better to move (rather than copy) the fields in question, in order to free the note field from clutter and to allow it to be used for its original purpose, annotations, too.