Modified citation style no longer works in Zotero 3.0
Hi, I upgraded to Zotero 3.0 beta and it works fine, but the modified citation style I use is now not recognised as valid by Word. However, when I follow the steps to validate on validator.nu, it is recognised as valid and it also is recognised by Zotero Reference Pane. The same style continues to work fine on my work computer, which hasn't yet been upgraded to Zotero 3.0 beta.
I checked the forums and couldn't find anyone else having the same problem, except for one person who said he'd deleted the URL by mistake. Mine is still there.
I tried posting the code on github, but for some reason my account isn't working. The file is at http://dl.dropbox.com/u/19768841/Joyce%27s%20Citation%20Style%202.csl.
I checked the forums and couldn't find anyone else having the same problem, except for one person who said he'd deleted the URL by mistake. Mine is still there.
I tried posting the code on github, but for some reason my account isn't working. The file is at http://dl.dropbox.com/u/19768841/Joyce%27s%20Citation%20Style%202.csl.
I can confirm that your style is valid and should work - what error exactly are you getting?
Can you create an error report and post the ID here?
In Word, have you tried to switch to a different style and back?
<name>Joyce Chia& gt;</name>
All the other styles I have work; for the moment, I'm just using my other computer where the style still works. A real mystery.
I think the missing version attribute on the cs:style node would have prompted Zotero to attempt conversion from CSL 0.8.1 to CSL 1.0, which would have made the style crash.
(Edit: for reference, the style node should include version="1.0".)
I hadn't looked at the content of the style, but now I see that it's a version of the AGLC. I'm working on an integrated set of legal styles that will allow on-the-fly switching between styles, with uniform metadata. The metadata layout is still in development, but if we can settle on commonly agreed conventions, it should lift things across the board -- for users, and for publishers and aggregators that provide legal content.
Are you involved with either of the law review boards behind the AGLC? I've written a couple of times to confirm that there are no objections to implementing the style, but not yet received an answer. I assume that there's no problem, since the style manual is distributed free to the Web, but I'm working on a guidebook for the finished (Zotero for Law) system, and my publisher would like the comfort.
On the technical issue, the style should run if the version attribute is correctly set. Have you tried deleting the old version from Zotero completely, then reinstalling with the valid copy? The old broken version would have the same ID, and that might be blocking the upgrade somehow.
Love the sound of the integrated set of legal styles - I wish legal referencing wasn't so complicated (especially when you're doing comparative work).
I'm not actually on the board of the law reviews any more (having graduated eons ago), but I was in fact on both the boards of the law reviews at the time the AGLC was originally developed, and am still in the Faculty so am in contact with the editors. I can certainly contact them to ask them again if they object, but I can't see why they would, since this actually assists in their object of uniform citation.
I'll let you know how I go.
In my case, validator.nu was not able to correctly check that the macro I was trying to use in <text macro="foo" /> was declared. The check is implemented in the schema definition, but validator.nu does not seem to be able to perform it.
While this is not necessarily the solution, if you're in this situation make sure that all of your macro names are spelled correctly and that the macro has been declared.
One workaround is to extract the Schematron rules and run them separately. See e.g. https://github.com/citation-style-language/utilities/blob/8490996368a0e289bf8826e9657631d939fbb77b/update-styles.sh#L268