New style- Health Services Research
Hello all, I have created a second Health Economics style, for the journal HEALTH SERVICES RESEARCH. Please contact me with suggestions for improvement.
I'm still learning a lot about how this works. Please forgive the novice. I have done the following:
- Create journal-of-health-economics.csl
- Notify community here http://forums.zotero.org/discussion/16847/new-style-journal-of-health-economics
- Played around with https://bitbucket.org/keithk/zotero-csl-styles
- Got trac/svn access
- Pushed journal-of-health-economics to zotero.org
- Per the comment from bdarcus, created https://github.com/kkranker/zotero-styles on github.
- (I plan to abandon the bitbucket repository)
- Pushed/merged journal-of-health-economics.csl to github
- Create health-services-research.csl
- Pushed/merged journal-of-health-economics.csl to github
- Notified community <this post>
- Put in pull request on github
Do you guys migrate the github changes to zotero.org? Or, do I still need to upload the file via SVN? If I do both, that would be confusing, right?
I'm still learning a lot about how this works. Please forgive the novice. I have done the following:
- Create journal-of-health-economics.csl
- Notify community here http://forums.zotero.org/discussion/16847/new-style-journal-of-health-economics
- Played around with https://bitbucket.org/keithk/zotero-csl-styles
- Got trac/svn access
- Pushed journal-of-health-economics to zotero.org
- Per the comment from bdarcus, created https://github.com/kkranker/zotero-styles on github.
- (I plan to abandon the bitbucket repository)
- Pushed/merged journal-of-health-economics.csl to github
- Create health-services-research.csl
- Pushed/merged journal-of-health-economics.csl to github
- Notified community <this post>
- Put in pull request on github
Do you guys migrate the github changes to zotero.org? Or, do I still need to upload the file via SVN? If I do both, that would be confusing, right?
csl was originally developed by Bruce (bdarcus) - Zotero was, for a while, the only major software running csl and thus hosted the quasi official csl repository (as well as documentation).
With the help of some other people (who you'll meet here in the forum as fbennet and Rintze), csl was then further developed to csl 1.0 - this is now used by several major citation tools, including Zotero 2.1, Mendeley, Papers2, colwiz...
For that reason it makes sense to migrate the repository for csl 1.0 styles away from Zotero to a "neutral" location - that's what the citation-styles github is designed to do (probably it will eventually be mirrored to citationstyles.org, csl 1.0's official home.)
Bdarcus wants to start the migration process for csl 1.0 styles - currently we're uploading those to both locations for a transition period.
My understanding (and please Bruce or Rintze correct me if I'm wrong) is that 0.81 styles should at this point just be uploaded to the Zotero repository via SVN - they will then be auto-translated and moved to the github directory - so right now that would be the thing to do for you with 0.81 styles.
My sense is that Bruce's post in the other thread was a little over-zealous because he wants to get the move to the other repository going, but until you write styles in csl 1.0 you can completely ignore the github repository and just deal with the svn one on zotero.org
Hope that makes sense and sorry for the confusion - your styles look very cleanly coded and well done, they're very much appreciated.
That's great. I needed a "economics style" for my dissertation. Once it was created, I was happy to push it back up to the server. Hopefully, it's not two far of a step from my styles to evolve into .csl files for other journals used by economists... it's kind of a whole in the style repository.
For today, I posted to zotero.org and the github fork (link above).
I'd guess our department is split between latex & word, with a few using other programs (e.g., 10-year-old word perfect)
However, the following does not work:
<choose>
<if type="computerProgram" match="any">
<text variable="title" quotes="true"/>
</if>
<else-if type="book" match="any">
<text variable="title"/>
</else-if>
</choose>
How do I select a computer program but not a book?
i don't really have a good idea how to do this - you could try to work with "version", which is a variable that I think only the computer program item type has - test for the presence of that variable and you'd be able to distinguish most computer programs.
Thanks!