Error(?) in csi style: Journal of Social Archaeology
I think the year-date macro should be adjusted. The uncorrected form now on the website yields "( 1987)" for a note with the author's name suppressed (note the leading space). Just making the prefix in that macro equal to "" means that there's no space after the author's name when it isn't suppressed, which is obviously wrong. So I then edited the suffix in the citation portion of the csi.
Works for me in the limited cases I looked at (that is, in-text notes with the author's name present and suppressed).
Here' are my changes:
1. Changed the prefix to an empty string
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year" prefix=""/>
</date>
</if>
<else>
<text term="forthcoming" prefix=", "/>
</else>
</choose>
</macro>
2. Added a space after the suffix comma:
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=": ">
<group delimiter="">
<text macro="author-short" suffix=", "/>
<text macro="year-date"/>
</group>
<group>
<text variable="locator"/>
</group>
</group>
</layout>
Works for me in the limited cases I looked at (that is, in-text notes with the author's name present and suppressed).
Here' are my changes:
1. Changed the prefix to an empty string
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year" prefix=""/>
</date>
</if>
<else>
<text term="forthcoming" prefix=", "/>
</else>
</choose>
</macro>
2. Added a space after the suffix comma:
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=": ">
<group delimiter="">
<text macro="author-short" suffix=", "/>
<text macro="year-date"/>
</group>
<group>
<text variable="locator"/>
</group>
</group>
</layout>
https://github.com/citation-style-language/styles/commit/6369fcd4e68a02014620e3bb3eb2418b17db91ea
Thanks!
1. text-case="title” doesn’t seem to account for foreign languages. For example "Und" is getting capitalized in the middle of German titles.
2. The names of editors after a book title have no preceding space.
2. I can look at that - could you provide an example?
https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
2. You can try this one out of my library:
https://www.zotero.org/john_muccigrosso/items/collectionKey/MSMFBPF3/itemKey/N59IDPB2/order/creator
I get:
Neils, J. (2004) Kitchen or Cult? Women with Mortars and PestlesS. Keay and S. Moser (eds).
2. I'm not sure how a book with author and editor(s) should be cited - this certainly isn't right, but I'd need to have an idea of how this should look like before I fix this. in this case you have this labeled wrong - the Neil paper is a chapter and should thus be a book section.
2. Good point. That's an import from an old biblio I had made. Note that if page numbers are missing the entry just ends without a final period. I'm checking for other books in my library that format wrong in this article.
3. Now Book Section biblio entries look like this (without book title - which might be right - or commas between editor names (including the Oxford comma, of course!):
Neils, J. (2004) ‘Kitchen or Cult? Women with Mortars and Pestles’, in S. Keay S. Moser and B. A. Sparkes (eds) pp.54–62.
BTW, I'm happy to try to fix this myself, but are there syntax rules available somewhere?
3. The style will produce the book title - you'll have to put it into the "book title" field. The item should also probably have a publisher and a publisher place
As for syntax rules, I'm not sure what you mean - for CSL? That's here:
http://citationstyles.org/downloads/specification.html
3. I meant that there are no commas between, for example, "Keay" and "S. Moser" and see (b) below.
A few more things, now that I've cleaned up my Zotero entries:
a) A legitimate book entry with an editor, missing space before editor's name (P. J. Scremin):
Harpur, Y. (1987) Decoration in Egyptian Tombs of the Old Kingdom: Studies in Orientation and Scene ContentP. J. Scremin (ed.) London and New York: KPI.
from my https://www.zotero.org/john_muccigrosso/items/collectionKey/MSMFBPF3/itemKey/UVFRIBBV
b) From the same entry as above, no space between "pp." and page numbers in book sections:
Neils, J. (2004) ‘Kitchen or Cult? Women with Mortars and Pestles’, in S. Keay S. Moser and B. A. Sparkes (eds) Greek Art in View: Essays in Honour of Brian Sparkes, pp.54–62.
c) Books have no punctuation between title and place. There is a formatting change from italics to plain, and a space, but no punctuation. Maybe that's right?
Appreciate the help.