How to create a modified version of a style and keep the original
I'd like to make a copy of a style, modify it, and keep both the original and modified style in the Style Manager.
First, I tried editing the style for Modern Language Association using the Style Editor in the Cite tab of Preferences. I changed the element to "Modern Language Association 8th edition -Temp" and saved as modern-language-association-temp.csl, but this new modified style displaced the old one entirely in the Style Editor. Fortunately, I was able to recover the earlier state.
Next I tried copying the .csl file in the styles folder, editing it outside Zotero with a text editor and changing its name as above. When I then double-clicked on it to install the style, I got the following message: "Update existing style "Modern Language Association 8th edition" with "Modern Language Association 8th edition - Temp" from (null)?" This didn't look promising, so I cancelled.
Is there a way to accomplish what I'm after?
I want to have access to the standard version of MLA but also be able to work with a modified version that meets the idiosyncratic variations of particular journals.
First, I tried editing the style for Modern Language Association using the Style Editor in the Cite tab of Preferences. I changed the element to "Modern Language Association 8th edition -Temp" and saved as modern-language-association-temp.csl, but this new modified style displaced the old one entirely in the Style Editor. Fortunately, I was able to recover the earlier state.
Next I tried copying the .csl file in the styles folder, editing it outside Zotero with a text editor and changing its name as above. When I then double-clicked on it to install the style, I got the following message: "Update existing style "Modern Language Association 8th edition" with "Modern Language Association 8th edition - Temp" from (null)?" This didn't look promising, so I cancelled.
Is there a way to accomplish what I'm after?
I want to have access to the standard version of MLA but also be able to work with a modified version that meets the idiosyncratic variations of particular journals.
Key part is to change the id in the style.
I have managed to make the few modifications to the MLA 8th edition that I need at the moment with only a rudimentary knowledge of csl. The one thing I wasn't able to address was the missing space between an initial and a full first name. A full first name followed by an initial is fine.
E.g.,
Jones, Andy B., and A.Ben Smith.
Or, switching the order of the two authors:
Smith, A.Ben, and Andy B. Jones.
I made sure to include the space in the First Name field.
Is there a simple csl tweak to fix this? If you are able to tweak the base MLA csl, could you perhaps indicate what code you changed, so that I don't have to recreate my modified style from scratch?
https://www.dropbox.com/s/fn7hvbdk770lknl/no space between abbreviations and names.png?dl=0
Note that I do have a space between A. and Ben.
Are you unable to reproduce the issue?
Here are some of the bibliographic entries from a sampling of styles. Note that Cell puts no spaces between initials, as is common among scientific formats. MLA's authors should be like the American Anthropological Association, but they aren't coming out that way.
American Anthropological Association:
Smith, A. Ben, and Andy B. J. Jones
1990
Test. Written Communication 7(2): 200–31.
American Psychological Association 6th edition:
Smith, A. B., & Jones, A. B. J. (1990). Test. Written Communication, 7(2), 200–31. https://doi.org/10.1177/0741088390007002002
Cell:
Smith, A.B., and Jones, A.B.J. (1990). Test. Written Communication 7, 200–231.
Modern Language Association 8th edition:
Smith, A.Ben, and Andy B. J. Jones. “Test.” Written Communication, vol. 7, no. 2, 1990, pp. 200–31, doi:10.1177/0741088390007002002.
Smith, A. Ben, and Andy B.J. Jones. “Test.” Written Communication, vol. 7, no. 2, 1990, pp. 200–31, doi:10.1177/0741088390007002002.
I guess this would need to be debugged, presumably by the people who oversee csl?
I just came across another glitch that may have to do with processor code rather than the csl. When there is both an editor and a translator in MLA, the "translated by" is capitalized even though it appears in the middle of a sentence, as below:
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.
Unexpected error occurred while installing "C:\... .csl"
https://validator.citationstyles.org/