cannot install edited style

I have edited the default Nature Journal style to show all authors (et al-min = 60) and long journal titles.

When I drag my *.csl file into an Firefox window it populates the screen with the text but does not offer the option to Install the style.

Do I need a special header, or something?

thanks
Rafael
  • Make sure the file extension isn't actually .csl.txt (remember windows by default hides file extensions) - Zotero should recognize that in either case, but might not. If that's not it, post the style to a public gist at gist.github.com and paste the link here so we can take a look.
  • git://gist.github.com/1418599.git
  • the first two lines of the style should be

    <?xml version="1.0" encoding="utf-8"?>
    <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
  • Great, thanks. That seemed to fix the problem.

    cheers,
    R
  • (to explain - the first line tells FF that this is an xml format - otherwise it'll get treated like plain text or html. In the cs:style you need to specify the namespace - (xmlns) for the style to be valid.)
Sign In or Register to comment.