Installing a New Style
I'm having difficulty getting Zotero to accept a new style. I'm working with Chicago Author-Date 17th, and I'm trying to get it to stop listing three author names in in-text citations, and instead use the conventional 'et al.' Following threads on the forums, I used the style editor to change the limit numbers and successfully got the right use of 'et al' in my citations. But every time I close and re-open Zotero, it reverts.
I did save the modified style code as a separate .csl file and attempt to install it through the style editor, but it still reverts. Then I followed advice on the forums also to try changing the name and URL of the style right in the code, and then the style editor rejects the file with an error message saying there was a problem installing it.
Any help?
I did save the modified style code as a separate .csl file and attempt to install it through the style editor, but it still reverts. Then I followed advice on the forums also to try changing the name and URL of the style right in the code, and then the style editor rejects the file with an error message saying there was a problem installing it.
Any help?
Explained here: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
Hard to say why there'd be an error message after changing the style name and ID, but could be because you added illegal characters? Beyond that, we'd have to see the style. Post to hastebin.com or similar and link here.
(Btw. there's nothing conventional about using et al. for 3 authors in Chicago style -- the Chicago Manual has been prescribing up to three authors listed in the text since at least its 15th edition)
Here's the text - https://pastebin.com/aBzCnfgm
All I (think that I) changed was the style and ID stuff in the first few lines (only added 'modified' after 'chicago-author-date,' and then the numbers for et-al limits near the very bottom.
Thanks!
That needs to be chicago-author-date-modified"
Never edit code in Word or similar word processors.
Is TextEdit also a problem? Because now I've tried doing it again with clean code pulled from the original style in Zotero and pasting straight into TextEdit, and I'm still getting the error message.
This latest code is here - https://pastebin.com/DEc36G9u
You still have that same curly quote. Maybe just try edit in Zotero's style editor directly? I thought TextEdit worked, but Mac does all sorts of weird things these days, so who knows.
But... I'm still getting the same error. This time I edited it fresh from the original style, and then saved it as a new .csl file directly from the style editor. I only edited the title and ID text this time, nothing more than the section pasted below. Doesn't look like the curly quotes are there...?
<?xml version="1.0" encoding="utf-8"?>
Chicago Manual of Style 17th edition (author-date) modified
http://www.zotero.org/styles/chicago-author-date-modified
https://pastebin.com/zTe4ARCX
Here's the full style, edited:
https://hastebin.com/cicekegeze.xml
And here's the Report ID - hope this is the right thing.
https://hastebin.com/degutacibo.rb
(Error Report for the TextEdit trial here - https://hastebin.com/payagutegu.rb)
Here's the code again.
https://pastebin.com/jrBxYWXG
This time I edited it directly in the Zotero Style Editor, and then copied it directly from that window into pastebin.
Here's the Error Report
https://pastebin.com/2zJLzrsN
??
Try closing Zotero and just deleting the 'styles' folder within your Zotero data directory. Zotero should recreate it on startup.
I followed those directions, closing Zotero and deleting the styles folder. It did recreate on startup, with my modified file no longer there. I worked within the Style Editor, changed only one thing, adding 'modified' on just one line, saved it as a new .csl file all within Zotero still, and then tried to add it, and got the same error. Any other ideas??
Once again, code -
https://hastebin.com/sivameqamu.xml
Error Report -
https://hastebin.com/irecaruzes.rb
Thank you!
Can you provide a Debug ID just for Zotero startup through opening the Cite pane of the preferences, using the "Restart with Logging Enabled…" option?
Somehow, just restarting it with the 'Restart with Logging Enabled' option seems to have made it work. I can't understand why, but... I guess it doesn't matter, b/c problem solved?
Thank you so much for this patient help! Dstillman and adamsmith both.