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?
  • edited March 15, 2011
    let me give you some background so this all makes sense to you.

    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.
  • Thanks for the history!

    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).
  • all economists I know write in LaTeX - I always assumed that was the reason for the lack of demand for styles for econ journals - we haven't had any requests.
  • edited March 15, 2011
    Yes that's somewhat true. I write some of my papers in LaTeX and some in Word, myself :)

    I'd guess our department is split between latex & word, with a few using other programs (e.g., 10-year-old word perfect)
  • adamsmith is spot on. I can just add that every now and then, I copy any CSL 1.0 styles in the Zotero SVN to github, so it's not really necessary to upload CSL 1.0 styles to both locations. (although like Bruce, I'd like to see the Zotero SVN closed to further style commits once Zotero 2.1 is released, so we can move everything over to github and stop accepting CSL 0.8.1 styles)
  • edited March 31, 2011
    I am trying to upgrade this style to CSL 1.0 and I noticed a problem. My style had quotes around the title for computer programs, but not for books.

    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?
  • currently that's not possible - computer program is one of the item types that is being discussed for changes - see the pinned thread on top of the forum.
    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. I'll give that a spin. When I get the 1.0 Style (or as close as possible), I'll submit a pull request on Github.
  • Thanks for uploading! I work with HSR a lot so this will be great. However, I noticed a bug. HSR indicates that when there are 4 or more authors, the in-text citation should read (Smith et al. 2008), but I just used this CSL in Sente 6 and it is displaying all authors even when there are more than 3. Is this something that could be fixed?

    Thanks!
  • the style codes that correctly - this is likely a Sente bug, get in touch with them.
  • thanks, I'll get in touch with them
Sign In or Register to comment.