Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:citation_styles [2011/11/08 11:46] – [Zotero Reference Test pane (csledit.xul)] rmzelle | dev:citation_styles [2018/11/16 04:04] (current) – [Mapping of Zotero Variables and Item Types to CSL] typo : to create to exmport replaced with to create and export (I hope I have not misunderstood) fflamerie | ||
---|---|---|---|
Line 3: | Line 3: | ||
Zotero uses [[http:// | Zotero uses [[http:// | ||
- | For information on how to use existing CSL styles with Zotero, see [[/ | + | For information on how to use existing CSL styles with Zotero, see [[/ |
- | This page describes | + | ===== Editing |
- | ===== Zotero | + | For basic instructions on how to edit CSL styles for Zotero, see the [[dev/ |
- | The Zotero | + | ===== Mapping of Zotero |
+ | A mapping of Zotero item types and variables to CSL is available [[https://aurimasv.github.io/z2csl/typeMap.xml|here]]. A Zotero extension to create and export the current mapping from a local Zotero installation can be found [[https://github.com/aurimasv/z2csl|here]]. | ||
- | {{: | + | ===== Submitting Styles to the Citation Style Repository ===== |
- | The test pane provides instant processing of a CSL style, using items selected in your local copy of Zotero. After loading the pane, you are shown a toolbar, and a split browser window underneath. The first step in using the test pane is to select a CSL style. You can paste the code of an independent style into the upper window, or select an installed style from the pull-down menu on the right. The next step is to select one or more items in your local Zotero library, and click the " | + | Citation styles |
- | + | ||
- | Citations | + | |
- | + | ||
- | As you edit the CSL code in the upper window, the citations and bibliographic entries in the lower window are automatically updated. The test pane shows an error if the CSL code is invalid XML. If the code is valid XML but invalid CSL, you may see an error, or the preview in the lower window will stop updating. After editing a style, always | + | |
- | + | ||
- | **Important** When you close the test pane, or select a style from the pull-down menu, any edits will be lost. If you are making extensive changes to a CSL style, save your edited code often. | + | |
- | + | ||
- | ===== Zotero Preview pane (cslpreview.xul) ===== | + | |
- | + | ||
- | The Zotero Preview pane is a tool to preview CSL styles. It can be opened by entering < | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | The preview pane shows rendered citations and bibliographic entries for all installed CSL styles, using items selected in your local copy of Zotero. | + | |
===== Self-hosting CSL Styles ===== | ===== Self-hosting CSL Styles ===== | ||
- | If you decide to host CSL styles online yourself, | + | If you decide to host CSL styles online yourself, |
===== citeproc-node ===== | ===== citeproc-node ===== | ||
[[dev/ | [[dev/ | ||
- | |||
- | ===== Editing CSL 1.0 Styles ===== | ||
- | |||
- | A currently somewhat outdated tutorial for making small CSL edits: | ||
- | |||
- | * [[dev/ |