Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create jime.csl #7394

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
362 changes: 362 additions & 0 deletions jime.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,362 @@
<?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" default-locale="en-US">
<info>
<title>Journal of Interactive Media in Education - Harvard</title>
<title-short>JIME - Harvard</title-short>
<id>http://www.zotero.org/styles/jime</id>
<link href="http://www.zotero.org/styles/jime" rel="self"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the ID and and self link in lines 6+7 to the following according to our submission guidelines:
..../harvard-journal-of-interactive-media-in-education (instead of the .../jime)

Please also change the actual file name to match that, with the .csl suffix

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed via 3ec264f

<link href="http://www.zotero.org/styles/open-window" rel="template"/>
<link href="https://jime.open.ac.uk/about/submissions" rel="documentation"/>
<author>
<name>Nate Angell</name>
<email>[email protected]</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<issn>1365-893X</issn>
<updated>2025-01-18T05:12:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en-US">
<terms>
<term name="volume" form="short">v.</term>
<term name="available at">accessed</term>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="open-inner-quote">‘</term>
<term name="close-inner-quote">’</term>
</terms>
</locale>
<macro name="editor-translator">
<choose>
<if variable="editor translator interviewer" match="any">
<names variable="editor translator interviewer" delimiter=". ">
<label form="verb" text-case="capitalize-first" font-variant="normal" suffix=" "/>
<name and="text" delimiter-precedes-et-al="never" delimiter-precedes-last="never" initialize-with=""/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="" delimiter=", " delimiter-precedes-last="never" et-al-min="9" et-al-use-first="8" font-weight="bold"/>
<et-al font-style="italic"/>
<label form="short" text-case="lowercase" strip-periods="true" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<names variable="director"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song webpage" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true" text-case="capitalize-first"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with="." delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1"/>
<et-al/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<names variable="director"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song webpage" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" quotes="true" text-case="capitalize-first"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="date-issued">
<choose>
<if type="article-journal interview" match="none">
<text macro="date-issued-year"/>
</if>
<else-if type="interview" match="any">
<text macro="date-issue-long"/>
</else-if>
<else-if variable="page" match="none">
<text macro="date-issued-year"/>
</else-if>
<else-if is-numeric="page">
<text macro="date-issued-year"/>
</else-if>
<else>
<text term="in press" prefix="(" suffix=")"/>
</else>
</choose>
</macro>
<macro name="date-issued-no-parentheses">
<choose>
<if type="article-journal" match="none">
<text macro="date-issued-year"/>
</if>
<else-if variable="page" match="none">
<text macro="date-issued-year"/>
</else-if>
<else-if is-numeric="page">
<text macro="date-issued-year"/>
</else-if>
<else>
<text term="in press"/>
</else>
</choose>
</macro>
<macro name="date-issued-year">
<choose>
<if variable="issued">
<date date-parts="year" form="numeric" variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="date-access">
<date variable="accessed" prefix="[Last accessed " suffix="]">
<date-part name="day" form="numeric-leading-zeros" prefix=""/>
<date-part name="month" form="long" prefix=" "/>
<date-part name="year" prefix=" "/>
</date>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song webpage broadcast" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="book-details">
<group delimiter=". ">
<group delimiter=" ">
<number vertical-align="baseline" variable="edition" form="ordinal"/>
<label vertical-align="baseline" variable="edition" form="short"/>
</group>
<group delimiter=" ">
<label text-case="capitalize-first" variable="volume"/>
<text variable="volume"/>
</group>
<group font-variant="normal">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete any font-variant="normal" throughout the style unless it's on purpose.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any use of font-variant="normal" came from the template CSL used to start this file. I have removed references to it via 482b205, including reducing lines 153-155 by removing what seems like an unnecessary group to just have one line to call the editor-translator macro.

<text macro="editor-translator" font-variant="normal"/>
</group>
<group delimiter=". ">
<choose>
<if type="broadcast" match="any">
<text variable="number" prefix="Episode "/>
</if>
</choose>
<text variable="version"/>
<choose>
<if type="broadcast" match="none">
<text variable="medium"/>
</if>
</choose>
</group>
<group delimiter=" " prefix="(" suffix=")">
<text variable="collection-title"/>
<group delimiter=" ">
<label variable="issue" form="short"/>
<text variable="collection-number"/>
</group>
</group>
<choose>
<if type="paper-conference" match="any">
<date form="text" variable="issued"/>
</if>
</choose>
<text macro="publisher"/>
</group>
</macro>
<macro name="publisher">
<group>
<text variable="publisher-place" suffix=": "/>
<text variable="publisher"/>
<text variable="page" prefix=":"/>
</group>
</macro>
<macro name="access">
<choose>
<if type="book chapter thesis" match="none">
<choose>
<if variable="DOI">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can easily be simplified to the following as none of the groups do anything here and the DOI URI prefix should be closer to the variable anyway:


Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic came from the template CSL used to start this file. I didn’t see any provided example, but simplified the macro based on my understanding of what might be unnecessary via 926ef59.

<group delimiter=" ">
<group prefix="https://doi.org/">
<text variable="DOI"/>
</group>
</group>
</if>
<else-if variable="URL" match="all">
<group delimiter=" ">
<text variable="genre" suffix="."/>
<text variable="URL" prefix="Available at "/>
<text macro="date-access"/>
</group>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="date-issue-long">
<choose>
<if match="any" variable="issued">
<date form="text" date-parts="year-month-day" variable="issued">
<date-part name="day" form="numeric-leading-zeros"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
</names>
</macro>
<citation disambiguate-add-year-suffix="true" year-suffix-delimiter="," disambiguate-add-names="true" disambiguate-add-givenname="false" collapse="year-suffix">
<sort>
<key macro="author"/>
<key macro="date-issued-no-parentheses"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<choose>
<if type="motion_picture software" match="none">
<text macro="author-short"/>
</if>
<else>
<text macro="title" font-style="italic"/>
</else>
</choose>
<text macro="date-issued-no-parentheses"/>
</group>
<group>
<choose>
<if locator="page" match="any">
<text variable="locator" prefix=":"/>
</if>
<else>
<label variable="locator" form="short" prefix=", "/>
<text variable="locator" prefix=" "/>
</else>
</choose>
</group>
</layout>
</citation>
<bibliography>
<sort>
<key macro="author-short" names-min="1" names-use-first="1"/>
<key macro="author-count" names-min="3" names-use-first="3"/>
<key macro="author" names-min="3" names-use-first="1"/>
<key macro="date-issued-no-parentheses"/>
</sort>
<layout suffix=".">
<group delimiter=". ">
<text macro="author"/>
<text macro="date-issued"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song webpage manuscript" match="any">
<text macro="title" font-style="italic"/>
<text macro="book-details"/>
</if>
<else-if type="article-journal" match="any">
<text macro="title"/>
<group>
<text variable="container-title" quotes="false" font-style="italic" suffix=" "/>
<choose>
<if variable="volume issue" match="any">
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</if>
<else>
<date variable="issued" prefix="(" suffix=")">
<date-part name="month" form="long"/>
<date-part name="day" prefix=", "/>
</date>
</else>
</choose>
<text variable="page" prefix=":"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<text macro="title"/>
<group>
<text variable="container-title" font-style="italic" suffix=" "/>
<choose>
<if match="any" variable="issued">
<date variable="issued">
<date-part name="day" form="numeric-leading-zeros"/>
<date-part name="month" prefix=" "/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
<text variable="page" prefix=":"/>
</group>
</else-if>
<else-if type="thesis" match="any">
<text macro="title"/>
<text variable="genre"/>
<text macro="publisher"/>
</else-if>
<else-if type="chapter entry-encyclopedia entry-dictionary" match="any">
<text macro="title"/>
<group delimiter=" ">
<text term="in" text-case="capitalize-first"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="book-details"/>
</else-if>
<else-if type="paper-conference" match="any">
<text macro="title"/>
<text variable="container-title" font-style="normal"/>
<text macro="book-details"/>
</else-if>
<else-if type="patent" match="any">
<group font-style="italic">
<text variable="number" prefix="Patent No. "/>
</group>
<group delimiter=": ">
<text macro="publisher"/>
<text variable="authority"/>
</group>
</else-if>
<else-if type="report" match="any">
<text macro="title"/>
<group delimiter=" " prefix="(" suffix=")">
<text variable="genre" text-case="capitalize-first"/>
<text variable="number"/>
</group>
<text macro="publisher"/>
</else-if>
<else-if type="software" match="any">
<text macro="title" font-style="italic"/>
<text macro="book-details"/>
</else-if>
<else>
<text macro="title" font-style="normal"/>
<text macro="book-details"/>
</else>
</choose>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>
Loading