Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
csl_simple_edits [2011/04/10 21:25] – [Some Basic Examples] rmzellecsl_simple_edits [2011/04/15 21:40] rmzelle
Line 56: Line 56:
 <option name="et-al-use-first" value="3"/></code> <option name="et-al-use-first" value="3"/></code>
  
-The [[dev/csl_syntax_summary|CSL 0.8.1 syntax summary]] explains how CSL 0.8.1 works.  Common options you might wish to change are [[dev/csl_syntax_summary#options|here]].+The [[dev/citation_styles/CSL 0.8.1 Syntax]] explains how CSL 0.8.1 works.  Common options you might wish to change are [[dev/citation_styles/CSL 0.8.1 Syntax#options|here]].
  
 ==CSL 1.0== ==CSL 1.0==
Line 88: Line 88:
 === Different CSL versions === === Different CSL versions ===
 Starting with version 2.1, Zotero uses an updated version of the Citation Style Language, [[http://citationstyles.org/downloads/specification.html|CSL 1.0]], which has a changed syntax. The styles that come with your copy of Zotero as well as most styles in the [[http://www.zotero.org/styles|Zotero Style Repository]] are in the old CSL 0.8.1 format and are updated internally. You can still edit CSL 0.8.1 styles, but if you want to make more substantive changes or take advantage of one of the [[http://citationstyles.org/downloads/upgrade-notes.html|new features of CSL 1.0]], you should download an updated version of the style from the [[https://github.com/citation-style-language/styles|CSL 1.0 repository]] or use [[http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles|update the CSL 0.8.1 style]] yourself. //You cannot mix CSL 0.8.1 and 1.0. If you want to use some of the new features in 1.0 you will need to use a style converted to 1.0.// Starting with version 2.1, Zotero uses an updated version of the Citation Style Language, [[http://citationstyles.org/downloads/specification.html|CSL 1.0]], which has a changed syntax. The styles that come with your copy of Zotero as well as most styles in the [[http://www.zotero.org/styles|Zotero Style Repository]] are in the old CSL 0.8.1 format and are updated internally. You can still edit CSL 0.8.1 styles, but if you want to make more substantive changes or take advantage of one of the [[http://citationstyles.org/downloads/upgrade-notes.html|new features of CSL 1.0]], you should download an updated version of the style from the [[https://github.com/citation-style-language/styles|CSL 1.0 repository]] or use [[http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles|update the CSL 0.8.1 style]] yourself. //You cannot mix CSL 0.8.1 and 1.0. If you want to use some of the new features in 1.0 you will need to use a style converted to 1.0.//
- 
- 
  
 ===== Using your Edited Style with Zotero ===== ===== Using your Edited Style with Zotero =====
Line 98: Line 96:
  
 To install the style, drag the file from where you saved it into an open Firefox page, and click Install in the pop-up message. To install the style, drag the file from where you saved it into an open Firefox page, and click Install in the pop-up message.
-{{:style_install.png?450}} +{{:style_install.png?600}}
- +
-You can ignore the grey bar at the top of the window (This XML style does not appear...)+
  
 +You can ignore the grey bar at the top of the window ("This XML style does not appear...")
  
 =====  Some Slightly more advanced tips ===== =====  Some Slightly more advanced tips =====
  
-For anything more advanced, [[dev/creating_citation_styles|this page]] is your friend. It also includes links to comprehensive documentation for both csl 1.0 and csl 0.+For anything more advanced, [[dev/start/citation_styles|this page]] is your friend. It also includes links to comprehensive documentation for both CSL 1.0 and CSL 0.8.1.
  
-If you are making several changes, you might want to copy all the CSL code from the top window (Ctrl-A, Ctrl-C) and paste it into a new file in a text editor. Notepad works fine, though using a good text editor designed for programming like the free [[http://notepad-plus.sourceforge.net|Notepad++]] for Windows or [[http://www.barebones.com/products/TextWrangler/|TextWrangler]] for Mac, can help you to see the structure clearly and not make mistakes.  Set the "language" to XML  (CSL is based around XML).+If you are making several changes, you might want to copy all the CSL code from the top window (Ctrl-A, Ctrl-C) and paste it into a new file in a text editor. Notepad works fine, though using a good text editor designed for programming like the free [[http://notepad-plus.sourceforge.net|Notepad++]] for Windows or [[http://www.barebones.com/products/TextWrangler/|TextWrangler]] for Mac OS X, can help you to see the structure clearly and not make mistakes. Set the "language" to XML (CSL is based around XML).
  
-You'll find that your fellow users on the Zotero forum will be happy to help you with any problems. The forums also have little nuggets of gold all through them, and [[/search/#support|searching ]] usually finds the solution to any issue.  If you are still having trouble, post a question in the Styles section of the Forum and it's likely to get answered quickly.+You'll find that your fellow users on the Zotero forum will be happy to help you with any problems. The forums also have little nuggets of gold all through them, and [[/search/#support|searching]] usually finds the solution to any issue. If you are still having trouble, post a question in the Styles section of the forums and it's likely to get answered quickly.
  
 ===== Sharing Styles ===== ===== Sharing Styles =====
  
 If your new style has general appeal, consider [[dev:submitting_citation_styles|submitting]] it for inclusion into the [[http://www.zotero.org/styles|Zotero Style Repository]]. If your new style has general appeal, consider [[dev:submitting_citation_styles|submitting]] it for inclusion into the [[http://www.zotero.org/styles|Zotero Style Repository]].