Return of an already solved problem: page numbers in MLA 8th edition
A problem solved a few weeks ago has returned, apparently concurrently with the recent solution of another problem.
1. The old problem that came back: MLA 8th edition was not changing page ranges such as 235-259 to 235-59.
2. The problem whose solution may have brought the old problem back: MLA 8th edition was omitting a space in some initials, e.g., A.Brian Smith instead of A. Brian Smith.
Is there a way to get MLA 8 working again on both fronts?
For 1, see issue 3 in https://forums.zotero.org/discussion/68482/how-to-create-a-modified-version-of-a-style-and-keep-the-original#latest.
For 2, see my second entry and following in https://forums.zotero.org/discussion/68482/how-to-create-a-modified-version-of-a-style-and-keep-the-original#latest.
1. The old problem that came back: MLA 8th edition was not changing page ranges such as 235-259 to 235-59.
2. The problem whose solution may have brought the old problem back: MLA 8th edition was omitting a space in some initials, e.g., A.Brian Smith instead of A. Brian Smith.
Is there a way to get MLA 8 working again on both fronts?
For 1, see issue 3 in https://forums.zotero.org/discussion/68482/how-to-create-a-modified-version-of-a-style-and-keep-the-original#latest.
For 2, see my second entry and following in https://forums.zotero.org/discussion/68482/how-to-create-a-modified-version-of-a-style-and-keep-the-original#latest.
The relevant csl code is as follows:
<macro name="other-contributors">
<choose>
<if variable="container-title" match="any">
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</if>
<else>
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</else>
</choose>
</macro>
Does this imply that the label is always capitalized, even if the name is preceded by other names? If so, does that mean that the current CSL specifications cannot deal as one would like with the case above?
https://www.dropbox.com/s/fst28l9yrsj8331/translator capitalized.rtf?dl=0
@Rintze
Do you see any way of getting
1. Edited by X
2. Translated by Y
3. Edited and translated by Z
4. Edited by X, translated by Y
I think we'll necessarily fail on one of 2, 3, or 4.
<text macro="editor-translator" text-case="capitalize-first"/>
, so you could give that a try. But it might make more sense to change CSL to allowtext-case="capitalize-first"
on<group>
tags.<code>
and</code>
tags)e.g.:
Fleck, Ludwik. Genesis and Development of a Scientific Fact. edited by Thaddeus J. Trenn and Robert K. Merton, translated by Fred Bradley and Thaddeus J. Trenn, University of Chicago P, 1979.
Maybe there is a problem with my code?
Before the change:
<macro name="other-contributors">
<choose>
<if variable="container-title" match="any">
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</if>
<else>
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</else>
</choose>
</macro>
After:
<macro name="editor-translator">
<names variable="editor translator" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</macro>
<macro name="other-contributors">
<choose>
<if variable="container-title" match="any">
<text macro="editor-translator"/>
</if>
<else>
<text macro="editor-translator" text-case="capitalize-first"/>
</else>
</choose>
</macro>