New Style for KSSTA - Knee Surgery, Sports Traumatology, Arthroscopy
I have adapted "The Graefes Archive Clinical and Experimental Ophthalmology" citation style for use with "KSSTA - Knee Surgery, Sports Traumatology, Arthroscopy". Please upload it (https://gist.github.com/1046772) to the Zotero style repository.
Thank you in advance! If you have questions or recommendations, please do not hesitate to contact me: mail@koepfchen.org.
Thank you in advance! If you have questions or recommendations, please do not hesitate to contact me: mail@koepfchen.org.
http://www.zotero.org/support/dev/citation_styles/sharing_styles
for the info section - specifically ID, link, author and documentation - and make the relevant adjustments - thank you in advance.
Thanks for your help. I changed the file so that the validation software did not find any errors again. Then I saw that you already changed it. However, your version provides an error during the validation test:
"Illegal processing instruction target (found xml)
At line 129, column 13
y>↩</style><?xml vers".
I am not a software engineer, so I do not know what that means. At the end you will find my version without an error (I could email it to you, too).
Regarding your comment about relevant adjustments that I have to do except changing the file, I have to admit that I checked the link but I do not know what I have to do. Please be a little bit more clear. Thank you very much in advance, Sebastian
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Knee Surgery, Sports Traumatology, Arthroscopy - The official journal of ESSKA</title>
<id>http://www.zotero.org/styles/KSSTA</id>
<link href="http://www.zotero.org/styles/kssta" rel="self"/>
<author>
<name>Sebastian Kopf</name>
</author>
<contributor>
<name>Rintze Zelle and Sebastian Karcher</name>
<uri>http://forums.zotero.org/account/831/</uri>
</contributor>
<category citation-format="numeric"/>
<category field="medicine"/>
<updated>2011-05-12T00:16:08+00:00</updated>
<rights>
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/
</rights>
<link href="http://www.springer.com/medicine/orthopedics/journal/167" rel="documentation"/>
</info>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="issued">
<group prefix=" (" suffix=")">
<date variable="issued">
<date-part name="year"/>
</date>
<choose>
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</macro>
<macro name="container-title">
<choose>
<if type="chapter paper-conference" match="none">
<text variable="container-title" form="short" prefix=" "/>
</if>
<else>
<text variable="container-title" form="short" prefix=" " suffix="."/>
</else>
</choose>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first" prefix=" " suffix=" "/>
</if>
</choose>
<names variable="editor" delimiter=", " prefix=" " suffix="">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" text-case="lowercase" suffix=")" strip-periods="true"/>
</names>
</macro>
<macro name="edition">
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", " prefix=" ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="event">
<text variable="event"/>
<text variable="event-place" prefix=", "/>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<group prefix=" " delimiter=":">
<text variable="volume"/>
<text variable="page"/>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<label variable="page" form="short" prefix=", " suffix=" " strip-periods="true"/>
<text variable="page"/>
</else-if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix=""/>
<text macro="issued"/>
<text variable="title" prefix=" " suffix="."/>
<text macro="container-contributors"/>
<text macro="container-title"/>
<text macro="publisher"/>
<text macro="locators"/>
</layout>
</bibliography>
</style>
As for the link on sharing styles - as far as I can see you did all that: i.e. add a correct ID and link, add a link to the correct documentation, adding yourself as an author.
The only remaining problem is that the ID should be in lowercase (i.e kssta not KSSTA). If you could do that and post the style to github like you did above I can upload it.
https://gist.github.com/1059055
Thank you a lot for your help!
Sebastian
Sebastian
That said, I'd recommend that you instead include an install link to the style on the Zotero repository:
http://www.zotero.org/styles/kssta/dev?install=1
that way you'll automatically benefit from improvements that other people may make to the style.