Both sides previous revisionPrevious revisionNext revision | Previous revision |
dev:citation_styles [2012/06/13 20:24] – [Mapping of Zotero Variables and Item Types to CSL] 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 |
---|
| |
===== Mapping of Zotero Variables and Item Types to CSL ===== | ===== Mapping of Zotero Variables and Item Types to CSL ===== |
Frank Bennett prepared a (currently slightly outdated) [[http://gsl-nagoya-u.net/http/pub/csl-fields/index.html|mapping]] of Zotero item types and variables to CSL. Note that creator types are not included in these listings. A Zotero extension to create a mapping from a local Zotero installation can be found [[http://forums.zotero.org/discussion/23402|here]]. | 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 ===== | ===== Submitting Styles to the Citation Style Repository ===== |
| |
Citation styles can be hosted on the [[https://github.com/citation-style-language/styles|Citation Style Language Repository]]. Follow [[https://github.com/citation-style-language/styles/wiki/Submitting-Styles|these instructions]] to have your style added to the repository. | Citation styles can be hosted on the [[https://github.com/citation-style-language/styles|Citation Style Language Repository]]. Follow [[https://github.com/citation-style-language/styles/blob/master/CONTRIBUTING.md|these instructions]] to have your style added to the repository. |
| |
===== Self-hosting CSL Styles ===== | ===== Self-hosting CSL Styles ===== |
| |
If you decide to host CSL styles online yourself, serving them with a “text/x-csl” MIME type allows Zotero for Firefox to automatically recognize and install your styles. | If you decide to host CSL styles online yourself, serving them with the “vnd.citationstyles.style+xml” MIME type allows programs such as Zotero to automatically recognize and install your styles. |
| |
===== citeproc-node ===== | ===== citeproc-node ===== |
| |
[[dev/citation_styles/citeproc-node|citeproc-node]] is a wrapper for [[https://bitbucket.org/fbennett/citeproc-js/wiki/Home|citeproc-js]] for server-side rendering of citations and bibliographies. | [[dev/citation_styles/citeproc-node|citeproc-node]] is a wrapper for [[https://bitbucket.org/fbennett/citeproc-js/wiki/Home|citeproc-js]] for server-side rendering of citations and bibliographies. |