Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate uni-bern-institut-fur-musikwissenschaft-note.csl #4401
Conversation
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Nov 8, 2019
Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes. If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements. To update this pull request, visit the "Files changed" tab above, and click on the pencil icon (see below) in the top-right corner of your style to start editing. If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable. |
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Nov 8, 2019
4 tests faileduni-bern-institut-fur-musikwissenschaft-note: must define a citation-format (<category citation-format="..."/>)
uni-bern-institut-fur-musikwissenschaft-note: must have a "class" attribute that matches the "citation-format" attribute
uni-bern-institut-fur-musikwissenschaft-note: may not have any unused macros
uni-bern-institut-fur-musikwissenschaft-note: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")
Please check the test report for details. |
Fix test failures
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Nov 12, 2019
1 test faileduni-bern-institut-fur-musikwissenschaft-note: "self" link must match the style ID
Please check the test report for details. |
Fix test failures again
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Nov 12, 2019
Below are some sample citations generated based on your proposed changes: uni-bern-institut-fur-musikwissenschaft-note.csl (rendering failure) |
Thanks! |
</macro> | ||
<macro name="sort-2"> | ||
<choose> | ||
<if type="motion_picture" match="none"> |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
<choose> | ||
<if type="motion_picture" match="none"/> | ||
</choose> | ||
<names variable="composer"> |
This comment has been minimized.
This comment has been minimized.
adam3smith
Nov 13, 2019
Member
You're making your substitute elements way too complicated. This should just be
<names variable="composer">
<name delimiter=" / " name-as-sort-order="all"/>
<label prefix=" (" suffix=")" form="short"/>
<substitute>
<names variable="author"/>
<names variable="editor"/>
</substitute>
</names>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
</macro> | ||
<macro name="primary-contributor"> | ||
<choose> | ||
<if type="motion_picture" match="none"/> |
This comment has been minimized.
This comment has been minimized.
adam3smith
Nov 13, 2019
Member
This does nothing at all. I assume you want to move the
</if>
</choose>
down?
This comment has been minimized.
This comment has been minimized.
denismaier
Nov 28, 2019
Author
Contributor
Hmm; I don't really know what this should do. Have removed it completely for now. Probably a left-over from an earlier version and not need anymore...
<macro name="details-motion-picture"> | ||
<choose> | ||
<if type="motion_picture" match="any"> | ||
<group delimiter=", "> |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
</else> | ||
</choose> | ||
</macro> | ||
<macro name="no-date"> |
This comment has been minimized.
This comment has been minimized.
adam3smith
Nov 13, 2019
Member
I don't really see the use of single-line macros. They likely have an (albeit tiny) negative effect on performance, increase style length and decrease legibility.
This comment has been minimized.
This comment has been minimized.
@@ -0,0 +1,543 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" names-delimiter=" / " demote-non-dropping-particle="never" default-locale="de"> |
This comment has been minimized.
This comment has been minimized.
adam3smith
Nov 13, 2019
Member
while legal as per specs, I'd strongly recommend removing any styling elements on names
, bibliograph
or citation
in style
-- it's a mess to troubleshoot.
This comment has been minimized.
This comment has been minimized.
<macro name="sort"> | ||
<choose> | ||
<if match="none" variable="author composer editor"> | ||
<text macro="anon"/> |
This comment has been minimized.
This comment has been minimized.
adam3smith
Nov 13, 2019
Member
If you want anonymous works first, I'd make this explicity (i.e. something like text value="1" and then
text value="2"` else -- both for legibility and because I'm not 100% sure the specs are clear on which way this should sort.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
denismaier
Nov 28, 2019
Author
Contributor
Oh. After some discussions the department asked for "o.A." in the author field for anonymous works... So, these macros shouldn't be need anyway.
Thanks for the review. I'll upload an updated version tomorrow. (Once I figure out how this can be done here...) |
<choose> | ||
<if type="motion_picture" match="none"/> | ||
</choose> | ||
<names variable="composer"> |
This comment has been minimized.
This comment has been minimized.
<macro name="details-motion-picture"> | ||
<choose> | ||
<if type="motion_picture" match="any"> | ||
<group delimiter=", "> |
This comment has been minimized.
This comment has been minimized.
<macro name="sort"> | ||
<choose> | ||
<if match="none" variable="author composer editor"> | ||
<text macro="anon"/> |
This comment has been minimized.
This comment has been minimized.
<macro name="sort"> | ||
<choose> | ||
<if match="none" variable="author composer editor"> | ||
<text macro="anon"/> |
This comment has been minimized.
This comment has been minimized.
denismaier
Nov 28, 2019
Author
Contributor
Oh. After some discussions the department asked for "o.A." in the author field for anonymous works... So, these macros shouldn't be need anyway.
</macro> | ||
<macro name="sort-2"> | ||
<choose> | ||
<if type="motion_picture" match="none"> |
This comment has been minimized.
This comment has been minimized.
</macro> | ||
<macro name="primary-contributor"> | ||
<choose> | ||
<if type="motion_picture" match="none"/> |
This comment has been minimized.
This comment has been minimized.
denismaier
Nov 28, 2019
Author
Contributor
Hmm; I don't really know what this should do. Have removed it completely for now. Probably a left-over from an earlier version and not need anymore...
</else> | ||
</choose> | ||
</macro> | ||
<macro name="no-date"> |
This comment has been minimized.
This comment has been minimized.
@@ -0,0 +1,543 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" names-delimiter=" / " demote-non-dropping-particle="never" default-locale="de"> |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Can this be reopened? I have updated the style, but I don't know how I can update the pull request... |
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Dec 5, 2019
Please check the test report for details. |
This comment has been minimized.
This comment has been minimized.
Sorry, not sure why this was auto-closed |
This comment has been minimized.
This comment has been minimized.
csl-bot
commented
Dec 5, 2019
Below are some sample citations generated based on your proposed changes: uni-bern-institut-fur-musikwissenschaft-note.csl (rendering failure) |
denismaier commentedNov 8, 2019
No description provided.