Both sides previous revisionPrevious revisionNext revision | Previous revision |
dev:citation_styles:style_editing_step-by-step [2017/11/27 04:59] – bwiernik | dev:citation_styles:style_editing_step-by-step [2025/02/18 05:48] (current) – [2 - Edit the Style] fix closing tag dstillman |
---|
=== Change the Style Title and ID === | === Change the Style Title and ID === |
| |
**Important:** Before installing your edited style, you must change the style title and ID at the type of the style code. If you don't change these, your modified style will be overwritten the next time the original style is updated. | **Important:** Before installing your edited style, you must change the style title and ID at the top of the style code. If you don't change these, your modified style will be overwritten the next time the original style is updated. |
| |
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 ==== |