Author names and the "and" term with uppercase?
In the bibliography section of a paper, how to return everything of the author part with uppercase, including the "and" term between the last and second last authors? With the code shown below, I can only get the author names with uppercase, but the "and" term is lowercase:
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", "
delimiter=", " form="long" text-case="uppercase"
delimiter-precedes-last="never" initialize-with=". "/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", "
delimiter=", " form="long" text-case="uppercase"
delimiter-precedes-last="never" initialize-with=". "/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
</names>
</macro>
<locale xml:lang="en">
<terms>
<term name="and">AND</term>
</terms>
</locale>
as described here
http://citationstyles.org/downloads/specification.html#locale
(substitute "en" with the appropriate language code).
</info>
and the first macro. But if you use a non-English version of FF and your style doesn't default to English you'll need to change the "en" in <locale xml:lang="en"> to the respective language - as in "ru" for Russian, "es" for Spanish, "de" for German etc.
Thank you for your quick feedback!
I have tried your suggestions and the changed code looks like below:
<style xmlns="http://purl.org/net/xbiblio/csl">
<info>
...........
</info>
<locale xml:lang="zh">
<terms>
<term name="and">AND</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<label form="verb" text-case="lowercase" suffix=" "/>
<name and="text" initialize-with=". " delimiter=", " name-as-sort-order="all"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first"/>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", "
delimiter=", " form="long" text-case="uppercase"
delimiter-precedes-last="always" initialize-with=". "/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
</names>
</macro>
..........
</style>
However, it's still not working. The CSL code I'm modifying is based on the code of the "American Geophysical Union general format". I'm using the firefox 4.0.1 version in Traditional Chinese language, Zotero 2.1.8 version, and Office 2003 SP3.
Hope the problem could be solved through changing the CSL code.
http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles
once that done, the above code should work.
is not a valid style element for csl 1.0 - in 1.0 the style element requires class and version.
post the whole style to a public gist at gist.github.com
<terms>
<locale xml:lang="en">
<term name="and">AND</term>
</locale>
</terms>
Thank you for your help.