same style different output through api and standalone
We have records like this in our group library
https://www.zotero.org/groups/358366/ethiostudies/items/itemKey/B66AKH8J
If I call the Zotero api, I get what I want, i.e.
Lepage, C. and J. Mercier 2011–2012. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011–2012), 99–174.
If instead with the same style I get the bibliography entry from the Zotero Standalone (latest) I get
Lepage, C. and J. Mercier 2011. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011), 99–174.
On a PR discussion for this style on Github, Rintze M. Zelle suggested that "The Zotero API and Standalone program likely use slightly different versions of the citeproc-js CSL processor which could explain the different results. (the output of the API looks correct)"
It is indeed true that the result we want is the one returned from the API. What can we do to get the same also from the standalone?
https://www.zotero.org/groups/358366/ethiostudies/items/itemKey/B66AKH8J
If I call the Zotero api, I get what I want, i.e.
Lepage, C. and J. Mercier 2011–2012. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011–2012), 99–174.
If instead with the same style I get the bibliography entry from the Zotero Standalone (latest) I get
Lepage, C. and J. Mercier 2011. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011), 99–174.
On a PR discussion for this style on Github, Rintze M. Zelle suggested that "The Zotero API and Standalone program likely use slightly different versions of the citeproc-js CSL processor which could explain the different results. (the output of the API looks correct)"
It is indeed true that the result we want is the one returned from the API. What can we do to get the same also from the standalone?
The older API version does exactly what we want the style to do
issued: 2011/2012
Thanks!
The Extra syntax is documented here, but it would probably just be easier for you to ask a question if there is anything else you can't get to format the way you like:
http://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html#cheater-syntax-for-odd-fields
Normally if we have a record where we have the date in the Ethiopic Calendar and the Current Era, we enter in Date the Current Era data, e.g. 1989/1990 and in extra we add "EC 1982". Could we use something similar to 'issued:' to profit from the workaround?
'original-date' is used in quite a few styles for original publication information (e.g., in APA, this would print as "Original work published EC 1982". 'accessed' is also quite common. However, very few styles use the other date variables, so, for example, using 'submitted' would be pretty safe for including in your style without impacting output in any other styles.
If you don't need to sort on the Ethiopian date (or use any other of the special formatting features for date variables, such as parsing out years, months, and days), then you could also just store "EC 1982" in Extra by itself and call the 'note' variable in your style.
I still have some inconsistencies, always with the above style, this time between what I get with the quick copy and API against the bibliography result of the Word plugin.
For example this record:
https://www.zotero.org/groups/358366/ethiostudies/items/itemKey/QDK77FD8
If I drag and drop from Zotero Standalone the result is the one desired, and the same is true from the API:
Bernabò, M. 2008. Il Tetravangelo di Rabbula. Firenze, Biblioteca Med. Laur., cod. Plut. 1.56: L’illustrazione del Nuovo Testamento nella Siria del VI secolo, ed. M. Bernabò (Roma: Edizioni di Storia e Letteratura, 2008).
But the Word plugin (Microsoft Word for Mac version 15.38) instead, when adding the bibliography, does the following:
Bernabò, M., ed., 2008. Il Tetravangelo di Rabbula. Firenze, Biblioteca Medicea Laurenziana, Plut. 1.56. L’illustrazione del Nuovo Testamento nella Siria del VI secolo (Roma: Storia e Letteratura, 2008).
to be noted is also that the italic in the title (which I am not sure how to encode here) appears only after reopening the file and refreshing the bibliography.
Thanks again!
see the link above for the example record.
as reported, in September I used to get from the API what I wanted using our style (see the date)
Lepage, C. and J. Mercier 2011–2012. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011–2012), 99–174.
using this call https://api.zotero.org/groups/358366/items?&tag=bm:lepage2011testte&format=bib&style=hiob-ludolf-centre-for-ethiopian-studies
but now this responds with
Lepage, C. and J. Mercier 2012. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2012), 99–174.
locally with the same style I get the expected result (I think because of the issued:2011/2012 workaround)
Lepage, C. and J. Mercier 2011–2012. ‘Un tétraévangile illustré éthiopien à cycle long du XVe siècle. Codicologie et iconographie’, Cahiers Archéologiques, 54 (2011–2012), 99–174.
so now my problem is reversed, I have the correct result in word processor, and the wrong one from the API.
https://forums.zotero.org/discussion/comment/294766#Comment_294766
Does the API set this citeproc-js flag?
citeproc.opt.development_extensions.field_hack = true
If not, should it so that output has parity with the client?