How do I set up my style to update users automatically?

I have a custom style that I created for our organization, and I'd like to have it update automatically for users, just as, say, Chicago Author-Date would.

I'm happy to have my style publicly available -- it's a pretty nice hybrid of Chicago and Harvard, with added features, that works really well for our research team -- but I haven't a clue how to proceed, and wouldn't want to run into copyright/other issues.

The actual code, as it stands right now, is here: git://gist.github.com/855140.git.
  • if you based a style on any existing styles, it should be licensed under creative commons anyway, so no concerns about rights.
    There is no way to auto-update styles at this time, though. Theoretically, Zotero could push changes in installed styles to users, but that's not done (I don't think it's even done for the default styles like Chicago).
    If you just want the style on the repository I can do that for you.
  • Nitpick: it's easier to submit the URL from the address bar (https://gist.github.com/855140) instead of the public clone URL (git://gist.github.com/855140.git), as the latter will only work with the Git versioning system.
  • Adam, I found another central place to keep my style, so I don't need to upload it -- though if anyone found it useful (or wanted to take code from it to enhance other styles), I'd be happy to share.

    But... I did create another style, based on Oecologia but substantially enhanced, to match the requirements of the Springer journal Climatic Change. I'd love to make that available in the style repository, and I suspect minor modifications of that style would work well for other Springer journals (the existing Springer styles didn't come close to what I needed).

    I just uploaded the Climatic Change style here:
    https://gist.github.com/860574

    Feel free to play around with it more, too, if you see any other improvements needed.
  • great, thanks, I'll upload it asap
  • Reminder: really want to move this to github. Is it feasible to simultaneously add new styles like this to the gh repo in the interim while we figure out details? If yes, ping me with your github user name and I'll add you to the style editor team.
  • ok it's up on both (insert grumble on github, error 22 etc. but I have it figured out now (I think))
  • edited March 8, 2011
    @adamsmith: I can recommend SmartGit (http://www.syntevo.com/smartgit/index.html) if you're looking for a nice Git client. It supports github, and I found it very easy to set up.
  • thanks Rintze - I'll give that a try - I was hoping to use Rabbit VCS, which works great for subversion and sits right in nautilus, but doesn't seem to be quite there yet for git, so I stuck with commandline - (which was totally fine for the most part until I got a push error which took me forever to figure out).
  • I just saw the style is listed in the Zotero style repository, but with this notation:

    #
    * Climatic Change
    * [Install]
    *
    o 2011-03-09 00:28:59
    o invalid

    Any idea what is invalid? It definitely worked on my end and passed Validator.nu (as a CSL 1.0 style).
  • 1.0 styles are marked as invalid on the Zotero repository - they can still be installed. That's a byproduct of the transition between the two csls, nothing to worry about.
  • I've created one more style, for the journal Climate and Development (published by the Stockholm Environment Institute, where I work). The (CSL 1.0) code is here:
    https://gist.github.com/881932
  • Thanks - could I point you to the General instructions here - following these makes my life much easier:
    http://www.zotero.org/support/dev/submitting_citation_styles?do=show#general_instructions
    particularly, note ID, link, rights, and file naming conventions.
    Let me know if you have any questions.
Sign In or Register to comment.