Problems with CSL 1.0.1 citation-style specifications
Dear forum,
I have been using a self-created csl-file which I based on the standard style "Chicago-Fullnote-Bibliography" for some years now. Since a year and a half or so, every time, I am trying to install a slightly adapted version of the style via the Firefox browser I get the following message
file:///Users/markusklammer/Documents/Eigene/csl%20Dateien/Turia%20+%20Kant.csl" ist keine gültige CSL 1.0.1 Zitationsstil-Datei, daher funktioniert sie möglicherweise nicht korrekt mit Zotero."
Meaning in English: "The file is not a valid CSL 1.0.1 citation-style file. It might not work properly with zotero."
So far, however, it does work with zotero. But I am afraid, it won't at some point. Besides, I would like to avoid getting these messages. That is why I would be grateful if someone of greater programming skills than me could have a look at the code and tell me how to amend it. The style can be downloaded here:
https://www.wetransfer.com/downloads/5c1956945814f53042faf8d2f692311c20140820095154/51f41305f6ffbf7eb0fa7243e7193a0920140820095154/69e791
I suspect the problem is connected to the introduction of the new csl-specification 1.0.1., since I have not changed the basic structure of my styles's code in years having made only minor adaptations.
Sincerely,
Markus Klammer
I have been using a self-created csl-file which I based on the standard style "Chicago-Fullnote-Bibliography" for some years now. Since a year and a half or so, every time, I am trying to install a slightly adapted version of the style via the Firefox browser I get the following message
file:///Users/markusklammer/Documents/Eigene/csl%20Dateien/Turia%20+%20Kant.csl" ist keine gültige CSL 1.0.1 Zitationsstil-Datei, daher funktioniert sie möglicherweise nicht korrekt mit Zotero."
Meaning in English: "The file is not a valid CSL 1.0.1 citation-style file. It might not work properly with zotero."
So far, however, it does work with zotero. But I am afraid, it won't at some point. Besides, I would like to avoid getting these messages. That is why I would be grateful if someone of greater programming skills than me could have a look at the code and tell me how to amend it. The style can be downloaded here:
https://www.wetransfer.com/downloads/5c1956945814f53042faf8d2f692311c20140820095154/51f41305f6ffbf7eb0fa7243e7193a0920140820095154/69e791
I suspect the problem is connected to the introduction of the new csl-specification 1.0.1., since I have not changed the basic structure of my styles's code in years having made only minor adaptations.
Sincerely,
Markus Klammer
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I experience similar problems as described above (custom citation style that was desigend in CSL 0.8.1 format does not work anymore). Unfortunately, I don't really get how to use the validation tool.
When checking my converted citation style it tells me the following:
stdin:1:1: error: not well-formed (invalid token)
error: invalid input
What exactly do I have to do now to get my old customized citation style going again?
Thanks in advance for your help.
R. Wronski
I hope that is what you meant.
I reindented your style (with my new CSL style reformatter, at http://formatter.citationstyles.org/), and then used the validator.