Both sides previous revisionPrevious revisionNext revision | Previous revision |
dev:citation_styles:style_editing_step-by-step [2018/11/20 08:34] – [Manually Editing CSL styles] typo : "you must change the style title and ID at the **top** of the style code" fflamerie | dev:citation_styles:style_editing_step-by-step [2025/02/18 05:48] (current) – [2 - Edit the Style] fix closing tag dstillman |
---|
The style title and ID are stored within the ''<title/>'' and ''<id/>'' elements near the top of the style. For example, | The style title and ID are stored within the ''<title/>'' and ''<id/>'' elements near the top of the style. For example, |
| |
<code><title>Harvard Reference format 1 (Author-Date)</title> | <code><title>American Psychological Association 6th edition</title> |
| <title-short>APA</title-short> |
<id>http://www.zotero.org/styles/apa</id></code> | <id>http://www.zotero.org/styles/apa</id></code> |
| |
| |
can be changed to | can be changed to |
| |
<code><title>Harvard Style Modified</title> | <code><title>American Psychological Association 6th edition Modified</title> |
| <title-short>APA</title-short> |
<id>http://www.zotero.org/styles/apa-modified</id></code> | <id>http://www.zotero.org/styles/apa-modified</id></code> |
| |
... | ... |
</else> | </else> |
</citation> | </choose> |
</layout> | </layout> |
</citation> | </citation> |
See [[/support/styles|Citation Styles]]. | See [[/support/styles|Citation Styles]]. |
| |
Save the style with a ".csl" file extension (you can generally do this by simply typing ”.csl” after the name of your file). Then, go to the [[/support/preferences/cite|Cite pane]] in the Zotero [[/support/preferences|preferences]]. Click on the "+" sign below the list of installed styles. In the file selection dialogue that opens, navigate to the .csl file you just created and open it. This will install your new style. | Save the style with a ".csl" file extension (you can generally do this by simply typing ”.csl” after the name of your file). Then, go to the [[/support/preferences/cite|Cite pane]] in the Zotero [[/support/preferences|preferences]]. Click on the "+" sign below the list of installed styles. In the file selection dialogue that opens, navigate to the .csl file you just created and open it. This will install your new style into the Zotero data directory. |
| |
==== 4 - Sharing Styles ==== | ==== 4 - Sharing Styles ==== |