Skip to content

Commit

Permalink
Removed DOI
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Mar 14, 2019
1 parent dcc5fb2 commit 075bc5a
Showing 1 changed file with 51 additions and 40 deletions.
91 changes: 51 additions & 40 deletions tests/fixtures/local/styles/jm-japan-sociological-society.csl
Expand Up @@ -213,26 +213,31 @@
<text macro="archive"/>
</else-if>
</choose>
<text variable="DOI" prefix="doi:"/>
<group delimiter=", " prefix="(" suffix=")">
<choose>
<if variable="DOI" match="none">
<choose>
<if variable="URL accessed" match="all">
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text" date-parts="year-month-day"/>
</group>
</if>
</choose>
<choose>
<if type="webpage">
<choose>
<if variable="issued">
<date variable="issued" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</if>
<else>
<date variable="accessed" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</else>
</choose>
</if>
<else-if type="webpage">
<date variable="issued" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</else-if>
</choose>
<else>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text" date-parts="year-month-day"/>
</group>
</else>
</choose>
<text variable="URL"/>
</group>
</group>
Expand All @@ -247,7 +252,6 @@
<text macro="archive"/>
</else-if>
</choose>
<text variable="DOI" prefix="doi:"/>
<choose>
<if>
<conditions match="all">
Expand All @@ -262,30 +266,37 @@
</group>
</else>
</choose>

</group>
</macro>
<macro name="access-url-全角">
<group delimiter="">
<choose>
<if variable="DOI" match="none">
<choose>
<if variable="URL accessed" match="all">
<group delimiter="">
<date variable="accessed" form="text" date-parts="year-month-day"/>
<text term="accessed"/>
</group>
</if>
</choose>
</if>
<else-if type="webpage">
<date variable="issued" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</else-if>
</choose>
<text variable="URL"/>
</group>
<group delimiter="">
<choose>
<if type="webpage">
<choose>
<if variable="issued">
<date variable="issued" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</if>
<else>
<date variable="accessed" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</else>
</choose>
</if>
<else>
<group delimiter=" ">
<date variable="accessed" form="text" date-parts="year-month-day"/>
<text term="accessed"/>
</group>
</else>
</choose>
<text variable="URL"/>
</group>
</macro>
<macro name="title-半角">
<choose>
Expand Down

0 comments on commit 075bc5a

Please sign in to comment.