custom style lost after upgrade?

I have lost a custom style that I had been using. When I try to reinstall (clicked the plus sign in the style manager, navigated to csl file, clicked install) nothing seems to happen.
  • edited March 28, 2011
    post it online somewhere - most likely the style wasn't valid and as a consequence the automatic conversion that Zotero does failed.

    (ideally gist.github.com - free and no registration.)
  • Ok, if I figured out the github thing right, its here.

    https://gist.github.com/891011

    Thanks.
  • yes there are a bunch of problems in that style
    try this instead
    https://gist.github.com/891054
    (you can use the "raw" link to download the csl file directly.
  • edited March 28, 2011
    Yes, your CSL 0.8.1 style doesn't validate ( http://www.zotero.org/support/dev/creating_citation_styles#validation ). You have a one </info> too many, a call to a non-existing "In: " term (<text term="In: " text-case="lowercase"/>), and a text element with a prefix, but nothing to prefix (<text prefix=" " />). There are several ways to fix the latter two points, but you could use <text value="In: " text-case="lowercase"/> and <text value=" " /> instead.
  • edited March 28, 2011
    see and I felt bad for not taking the time to point all of these out - now I'm happy we didn't do it twice.

    edit: my solutions are different from what Rintze suggest - I did the more conventional thing, assuming I new what you want
    I deleted
    < text prefix=" "/> because it's not followed by anything and thus wouldn't seem to make sense.

    I converted the <text term="In: "
    to
    <text term="in" text-case="capitalize-first" suffix=": "/>
  • Thanks!! That worked.
Sign In or Register to comment.