Importing .csl
Hi
A colleague created a .csl that is close to the cite them rite harvard style we need to use. When I import it it seems to go fine but does not show up as a style in the styles window after the installation.
Any ideas?
Cheers
Gervase
A colleague created a .csl that is close to the cite them rite harvard style we need to use. When I import it it seems to go fine but does not show up as a style in the styles window after the installation.
Any ideas?
Cheers
Gervase
http://code.google.com/p/csl-cite-them-right/source/browse/harvard-cite-them-right.csl
I had a little trouble getting it into Zotero on a mac. I copied the cod into text edit, saved as an xml then changed to .csl.
I didn't right the code so do not know the ins and outs of the coding.
Any help would be greatly appreciated.
Regards
Gervase
http://validator.nu/?doc=http://csl-cite-them-right.googlecode.com/git/harvard-cite-them-right.csl&schema=https://github.com/citation-style-language/schema/raw/v1.0/csl.rnc&parser=xml&laxtype=yes&showsource=yes#l111c49
Cf. https://github.com/citation-style-language/styles/wiki/Validation
The errors are:
1. At line 54, doi should be DOI
2. At line 139, doi should be DOI
3. At line 199, doi should be DOI
4. At line 214, doi should be DOI
5. At line 250, doi should be DOI
6. At line 260, doi should be DOI
The question about the title and ID was just to check that the style wasn't just replacing an existing file on your system (and so appearing not to load). I see that you've given it its own ID, though. Possibly the root of the URL in the ID is a problem, I'm not sure (most styles have http://zotero.org as their root).
Anyway, I was able to install it in my zotero.
I've replaced the dois with DOIs.
But I still can't get it to load is there a way of doing it from within Zotero using the csl editor. I pasted it in there and it shows the citations but I don't see a way to save it off as a new style.
If I try to load using a word xml file created in text edit with the suffix changed to .csl it just doesn't register.
Tried saving off as .xul from within Zotero and changing that to .csl, still no go. It says it's installing but doesn't show up.
Cheers
G
Your style must be saved with the .csl extension.
Read that: http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step#install_your_edited_style_with_zotero
Yeah I've read that before. It suggests opening the code in text edit and then saving off as a .csl. But saving as a .csl is not an option in text edit so I'm kinda stumped there. What i've been doing is saving off as a word .xml and then changing the .xml to a .csl.
How did you load it into Zotero. Is there any way you can send me the file please?
Cheers
G
(explanations borrowed from here since I don't know Text Edit).
Edit: added to the wiki.
http://forums.zotero.org/discussion/22017/how-to-install-modified-style/#Item_19
Thanks for that link. I've got it in now.
There's a couple of steps to take before you get there but it works. Thanks again for all your help.
G