Problem installing custom citation style
Hi everyone,
I know that other people have had difficulty with installing custom citation styles before, but this seems really odd: I've added, literally, one space to the ASA style, and altered the name and id. It's saved as a plain text (TextEdit) with the suffix .csl. It was fine in the zotero style development screen (which is where i made the change) and when I stick it through validator.nu I get a bit of a strange response:
"Info: The Content-Type was application/octet-stream. Using the XML parser (not resolving external entities).
Schema Error: Cannot find preset schema for namespace: http://purl.org/net/xbiblio/csl.
The result cannot be determined due to a non-document-error."
As far as I can tell, though, that's just an issue with the url from this line in the style:
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
So... I don't think (with my really non-existent programming skills) that that should really be a problem (??). But it just won't install. I've dragged-and-dropped, been prompted to install, and said yet. I've tried to add via the style manager. I've restarted word to see if that would help. But it just won't come up on in the list of installed styles. Any thoughts? Apologies if this is a repeat question...
I know that other people have had difficulty with installing custom citation styles before, but this seems really odd: I've added, literally, one space to the ASA style, and altered the name and id. It's saved as a plain text (TextEdit) with the suffix .csl. It was fine in the zotero style development screen (which is where i made the change) and when I stick it through validator.nu I get a bit of a strange response:
"Info: The Content-Type was application/octet-stream. Using the XML parser (not resolving external entities).
Schema Error: Cannot find preset schema for namespace: http://purl.org/net/xbiblio/csl.
The result cannot be determined due to a non-document-error."
As far as I can tell, though, that's just an issue with the url from this line in the style:
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
So... I don't think (with my really non-existent programming skills) that that should really be a problem (??). But it just won't install. I've dragged-and-dropped, been prompted to install, and said yet. I've tried to add via the style manager. I've restarted word to see if that would help. But it just won't come up on in the list of installed styles. Any thoughts? Apologies if this is a repeat question...
If that doesn't work, post the style to gist.github.com as a public gist and post the URL here and I'll take a look.
Here's the github:gist link: https://gist.github.com/1184729
Anyway - that style validates except for the <link> field (which needs to be filled). Before you install you should also set an id - use the zotero/style/... URIs for both.)
No, there is no preview of the in-text citations.