text-case="capitalize-first" does not work for name-part
I have this macro:
---------
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always">
<name-part name="family" text-case="capitalize-first"/>
</name>
<label prefix=" (" suffix=")" text-case="capitalize-first" font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
----------
In Zotero Library I have item with 2 authors (for testing purposes):
1. WatERer, Jean Gustav
2. EVanS, L.E.
Output from macro looks like "WatERer, J.G., and EVanS, L.E." instead of "Waterer, J.G., and Evans, L.E."
What is wrong? If I change "capitalize-first" to "lowercase" or "uppercase" then it works OK and names are lowercased or uppercased. - I try it on Standalone version of Zotero 4.0.29.10 and MS Word plugin
---------
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always">
<name-part name="family" text-case="capitalize-first"/>
</name>
<label prefix=" (" suffix=")" text-case="capitalize-first" font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
----------
In Zotero Library I have item with 2 authors (for testing purposes):
1. WatERer, Jean Gustav
2. EVanS, L.E.
Output from macro looks like "WatERer, J.G., and EVanS, L.E." instead of "Waterer, J.G., and Evans, L.E."
What is wrong? If I change "capitalize-first" to "lowercase" or "uppercase" then it works OK and names are lowercased or uppercased. - I try it on Standalone version of Zotero 4.0.29.10 and MS Word plugin
- “capitalize-first”: capitalizes the first character of the first word, if the word is lowercase
So it's following the spec "to the letter," so to speak.Is there a reason why names would need to be written in mixed-case in Zotero, but forced to have only the first letter of the first word capitalized in citations?
NRC - imported surnames are capitalized
Atypon - import is OK
DOI - imported surnames are OK, title is capitalised
Embedded metadata translator - title and surenames are capitalised, missing a lot of values, incorrect date