The script that generated the field mapping tables extracted at
http://gsl-nagoya-u.net/http/pub/csl-fields/ kicked up a warning that
Zotero "place" is mapped to both "publisher-place" and to "event-
place". At first I thought this must mean that only one of "event-
place" or "publisher-place" can be assigned to a given CSL item.
The problem turns out to be a little more subtle, and in its way a
little more serious. Zotero is shipping the content of its "place"
field to _both_ of these CSL fields, in all item types.
This seems to work fine in current use cases. But it creates some
nasty traps for the unwary that could be very frustrating for style
authors, and cause styles originally written in other environments
[1]_ to break in Zotero:
(1) Contrary to the ordinary expectation, it is not possible to use
both fields in the same record (at least not meaningfully);
(2) It is not possible to make conditional formatting turn on
whether there is a value in one of the fields rather than the other;
(3) Styles that use both of these fields _must_ test for item type
whenever they are used, to assure that they are never rendered
together in the same cite.
I'd like to request that a ticket be opened for this, to be resolved
the next time there is an opening to reshuffle Zotero's data
structures.
.. [1] Of which there are currently none, I guess, but you know,
eventually.
Frank
--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To post to this group, send email to
zoter...@googlegroups.com.
To unsubscribe from this group, send email to
zotero-dev+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/zotero-dev?hl=en.