New Citation Style for Trends in Ecology and Evolution
Hello,
I've created a citation style for the journal Trends in Ecology and Evolution. Could someone please upload it to the Citation Style Repository? The gist url is: https://gist.github.com/895519
A couple of notes. First, when I validated the style, I received some error messages regarding lines of code within the section of the style, but these errors do not seem to affect the functioning of the style in creating bibliographies in word. These particular lines of code were from the IEEE citation style, on which I based my style on, so I did not delete or modify these lines of code.
Second, I wasn't able to italicize "et al." in the bilbliographies, even after reading the forum thread on this topic. It wasn't clear to me where in the style code to add the line of code. If anyone wants to fix this, I'd really appreciate it.
Finally, all of the Trends series of journals appear to have the same citation style as the one I've made for Trends in Ecology and Evolution. What's the best way to upload citation styles for each of the Trends journals? Should I just change the and and make new public gists of them? Or is there an easier way to do this?
Thanks in advance,
Adam
I've created a citation style for the journal Trends in Ecology and Evolution. Could someone please upload it to the Citation Style Repository? The gist url is: https://gist.github.com/895519
A couple of notes. First, when I validated the style, I received some error messages regarding lines of code within the section of the style, but these errors do not seem to affect the functioning of the style in creating bibliographies in word. These particular lines of code were from the IEEE citation style, on which I based my style on, so I did not delete or modify these lines of code.
Second, I wasn't able to italicize "et al." in the bilbliographies, even after reading the forum thread on this topic. It wasn't clear to me where in the style code to add the
Finally, all of the Trends series of journals appear to have the same citation style as the one I've made for Trends in Ecology and Evolution. What's the best way to upload citation styles for each of the Trends journals? Should I just change the and and make new public gists of them? Or is there an easier way to do this?
Thanks in advance,
Adam
Couple of things:
1. We need the file to validate - this is a csl 0.8 style and it won't work in Zotero 2.1 if it doesn't validate. I think it's just the <et-al font-style="italic"/> line - that only exists in csl 1.0
That said, I'll probably just convert your style to 1.0 and add that line anyway, so for the time being don't worry about it. But if you continue coding styles in 0.8 you do need to make sure they validate.
2. A couple of small things for future reference: Delete the (dev) after the style name, add a <link href.... /> line that points to the style's id/address and add rel="documentation" behind the link to the documentation.
3. For the other Trend journals - no, don't make separate styles. We use what's called "dependent styles", that are mini csls that just point to a "mother" style.
For that purpose it would make sense to give your style a generic title such as "Trend Journals" and have all others link to that.
We've just finished a script that automatically creates those dependent styles, what I'd need from you is a list of those Journals. Ideal would be if you could put them in a .csv or other Excel file and also add the respective field for those journals (the latter is not necessary but helpful) from this list:
http://citationstyles.org/downloads/specification.html#categories
Thanks for the advice. Now I understand that why the
I can create a .csv file with the journal names and fields. How should I get the file to you or post the file?
Adam
For 0.8 to 1.0 automatic conversion see here:
http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles
it's worthwhile converting styles before you work on them - 1.0 adds a bunch of additional possibilities.
(which will eventually be nicer and more user friendly)
https://github.com/citation-style-language/styles/raw/master/trends-journal.csl
I found a bug in the Trends Journal parent style. When two references are cited in the same place, the citation should look like: [1,2]. The bug made it look like: [1], [2]. I fixed the issue and uploaded the fixed Trends Journals parent style. I only changed the code on lines 176 and 180 from the version you uploaded.
Here's the url: https://gist.github.com/896918
Adam