Some basic terms:
“macro” - a reusable chunk of code. Maybe you want the system to treat names in a similar fashion no matter where they show up in a citation style -- this would be the place to define that bit of the style.
“variable” - basically a field in the Zotero record, like Author or Title or Place of Publication. There are types of variables: standard (which is referred to as “text variable”), name (“names variable”), date (“date variable”). Note that the CSL editor is designed for use across a variety of software, so there may be variables named in the Editor that are not available in Zotero. Always check Zotero to make sure the field you're hoping for actually exists in an item record.
Citation Style Language is used by quite a few citation generators and bibliographic management software, not just Zotero.
You may have created this mostly for yourself or a small group, and that's great! Styles saved local or emailed to other people can be uploaded to individual Zotero users. But if you want to submit your style to be shared with the world, Zotero has a process for that.
The Visual CSL Editor is where most people start, and it can accomplish most things you'll need.
There are three ways to get started, listed here in order of preference:
Your style is now available to you to upload to your installation of Zotero. You can also share the style (by email, Google Drive, etc) with other people. If you want to share the style more broadly, submit it for review and inclusion in the Zotero Style Repository.
Sometimes you can't do what you need to do using the Visual Editor alone. In these cases the Code Editor gives you that freedom to tweak your style even more. However, you will need to be able to understand the code language.
Below you can see an example of the Code Editor page. Any changes you make to the code at the bottom half of the page updates in the example on the top half.
In this example, we added font-weight="bold" and font-style="italic" to the end of the line text variable="publisher-place" you can see that the location of the publisher has become bolded and italicized.
You can copy the code and then paste it into the Zotero Style Editor (Zotero>Tools>Preferences>General>Open Style Editor). Save it as a new style, and now you can use your personalized citation style!
Questions? Contact reference@carleton.edu
Powered by Springshare.