Skip to content

Commit

Permalink
Create china-national-standard-gb-t-7714-2015-numeric.csl (#4065)
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalo-d authored and rmzelle committed Dec 2, 2019
1 parent 6ce148c commit 8628afb
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 3 deletions.
238 changes: 238 additions & 0 deletions china-national-standard-gb-t-7714-2015-numeric.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="zh-CN" delimiter-precedes-last="always" demote-non-dropping-particle="never" initialize-with=" " name-delimiter=", " names-delimiter=". " name-as-sort-order="all" sort-separator=" ">
<info>
<title>China National Standard GB/T 7714-2015 (numeric, Chinese)</title>
<title-short>GB/T 7714-2015</title-short>
<id>http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric</id>
<link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="self"/>
<link href="http://www.std.gov.cn/gb/search/gbDetailed?id=71F772D8055ED3A7E05397BE0A0AB82A" rel="documentation"/>
<author>
<name>牛耕田</name>
<email>buffalo_d@163.com</email>
</author>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>The Chinese GB/T7714-2015 numeric style</summary>
<updated>2019-04-27T18:00:00+08: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="zh-CN">
<terms>
<term name="anonymous">佚名</term>
<term name="edition">版</term>
<term name="page" form="short">
<single>p.</single>
<multiple>pp.</multiple>
</term>
</terms>
</locale>
<macro name="accessed-date">
<date variable="accessed" delimiter="&#8211;" prefix="[" suffix="]">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros"/>
<date-part name="day" form="numeric-leading-zeros"/>
</date>
</macro>
<macro name="author">
<choose>
<if variable="author">
<names variable="author">
<name>
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</if>
<else>
<text term="anonymous"/>
</else>
</choose>
</macro>
<macro name="container-author">
<names variable="container-author">
<name>
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
</names>
</macro>
<macro name="edition">
<choose>
<if variable="edition">
<group delimiter=" ">
<text variable="edition"/>
<text term="edition"/>
</group>
</if>
</choose>
</macro>
<macro name="editor">
<names variable="editor translator">
<name>
<name-part name="family" text-case="uppercase"/>
<name-part name="given"/>
</name>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="issued-date">
<choose>
<if variable="issued">
<date variable="issued" delimiter="&#8211;">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros"/>
<date-part name="day" form="numeric-leading-zeros"/>
</date>
</if>
<else>
<text term="no date" prefix="[" suffix="]"/>
</else>
</choose>
</macro>
<macro name="issue-date-year">
<choose>
<if variable="issued">
<date variable="issued" date-parts="year" form="numeric"/>
</if>
<else>
<text term="no date" prefix="[" suffix="]"/>
</else>
</choose>
</macro>
<macro name="publishing">
<choose>
<if variable="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<group delimiter=", ">
<text variable="publisher"/>
<text macro="issue-date-year"/>
</group>
</group>
<text variable="page" prefix=": "/>
</if>
</choose>
</macro>
<macro name="serial-information">
<group delimiter=", ">
<text macro="issue-date-year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=": "/>
</macro>
<macro name="type-code">
<choose>
<if type="article-journal article-magazine" match="any">
<text value="J"/>
</if>
<else-if type="article-newspaper">
<text value="N"/>
</else-if>
<else-if type="bill legislation" match="any">
<text value="S"/>
</else-if>
<else-if type="book">
<text value="M"/>
</else-if>
<else-if type="chapter">
<text value="M"/>
</else-if>
<else-if type="dataset">
<text value="DS"/>
</else-if>
<else-if type="paper-conference">
<text value="C"/>
</else-if>
<else-if type="patent">
<text value="P"/>
</else-if>
<else-if type="post-weblog webpage" match="any">
<text value="EB"/>
</else-if>
<else-if type="report">
<text value="R"/>
</else-if>
<else-if type="thesis">
<text value="D"/>
</else-if>
<else>
<text value="Z"/>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title" text-case="title"/>
<text variable="number" prefix=": "/>
<group delimiter="/" prefix="[" suffix="]">
<text macro="type-code"/>
<choose>
<if variable="URL">
<text value="OL"/>
</if>
</choose>
</group>
</macro>
<citation collapse="citation-number" after-collapse-delimiter=",">
<sort>
<key variable="citation-number" sort="ascending"/>
</sort>
<layout vertical-align="sup" delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" suffix=". " form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="4" et-al-use-first="3" line-spacing="1" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="author" suffix=". "/>
<text macro="title"/>
<choose>
<if type="book bill chapter legislation paper-conference report thesis" match="any">
<text macro="editor" prefix=". "/>
<choose>
<if variable="container-title">
<text value="//"/>
<text macro="container-author" suffix=". "/>
<text variable="container-title" suffix=". " text-case="title"/>
</if>
<else>
<text value=". "/>
</else>
</choose>
<text macro="edition" suffix=". "/>
<text macro="publishing"/>
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<group prefix=". ">
<choose>
<if variable="container-title">
<text variable="container-title" text-case="title"/>
<text macro="serial-information" prefix=", "/>
</if>
<else>
<text macro="serial-information" suffix=". "/>
<text macro="publishing"/>
</else>
</choose>
</group>
</else-if>
<else-if type="patent">
<text macro="issued-date" prefix=". "/>
</else-if>
<else>
<text macro="publishing" prefix=". "/>
<text macro="issued-date" prefix="(" suffix=")"/>
</else>
</choose>
<text macro="accessed-date"/>
<group delimiter=". " prefix=". ">
<text variable="URL"/>
<text variable="DOI" prefix="DOI:"/>
</group>
</layout>
</bibliography>
</style>
2 changes: 1 addition & 1 deletion chinese-gb7714-1987-numeric.csl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="zh-CN">
<info>
<title>Chinese Std GB/T 7714-1987 (numeric, Chinese)</title>
<title>China National Standard GB/T 7714-1987 (numeric, Chinese)</title>
<id>http://www.zotero.org/styles/chinese-gb7714-1987-numeric</id>
<link href="http://www.zotero.org/styles/chinese-gb7714-1987-numeric" rel="self"/>
<link href="http://www.lib.tsinghua.edu.cn/service/GB7714-87.doc" rel="documentation"/>
Expand Down
2 changes: 1 addition & 1 deletion chinese-gb7714-2005-author-date.csl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="zh-CN">
<info>
<title>Chinese Std GB/T 7714-2005 (author-date, Chinese)</title>
<title>China National Standard GB/T 7714-2005 (author-date, Chinese)</title>
<id>http://www.zotero.org/styles/chinese-gb7714-2005-author-date</id>
<link href="http://www.zotero.org/styles/chinese-gb7714-2005-author-date" rel="self"/>
<link href="http://www.zotero.org/styles/chinese-gb7714-2005-numeric" rel="template"/>
Expand Down
2 changes: 1 addition & 1 deletion chinese-gb7714-2005-numeric.csl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="zh-CN">
<info>
<title>Chinese Std GB/T 7714-2005 (numeric, Chinese)</title>
<title>China National Standard GB/T 7714-2005 (numeric, Chinese)</title>
<id>http://www.zotero.org/styles/chinese-gb7714-2005-numeric</id>
<link href="http://www.zotero.org/styles/chinese-gb7714-2005-numeric" rel="self"/>
<link href="http://gradschool.ustc.edu.cn/ylb/material/xw/wdxz/19.pdf" rel="documentation"/>
Expand Down

0 comments on commit 8628afb

Please sign in to comment.