csl processor bug editor translator
The processor, at least in some instances, does not correctly process
To replicate, install the most recent version of the MLA style from the repository
The relevant macro is:
A sample item is here: https://gist.github.com/1098358
Actual output:
Author1, One. Book with Translator. Location: Test Publisher, 2009. Print.
Expected output:
Author1, One. Book with Translator. Trans. Two Translator. Location: Test Publisher, 2009. Print.
I'm pretty sure I've seen this before - I'm not sure if this is conditional on some other factor, or always occurs. Oddly enough, if I switch the order of to names="translator editor" this seems to work fine for both editors and translators...
<names variable="editor translator" delimiter=". ">
</name>
</names>
To replicate, install the most recent version of the MLA style from the repository
The relevant macro is:
<macro name="editor-translator">
<names variable="editor translator" delimiter=". ">
<label form="verb-short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<name and="symbol" delimiter=", "/>
</names>
</macro>
A sample item is here: https://gist.github.com/1098358
Actual output:
Author1, One. Book with Translator. Location: Test Publisher, 2009. Print.
Expected output:
Author1, One. Book with Translator. Trans. Two Translator. Location: Test Publisher, 2009. Print.
I'm pretty sure I've seen this before - I'm not sure if this is conditional on some other factor, or always occurs. Oddly enough, if I switch the order of to names="translator editor" this seems to work fine for both editors and translators...
It looks like my test was flawed. I've been able to reproduce it this time, and I found the error in the code. Pushing a fix now.