Skip to content

Instantly share code, notes, and snippets.

@m2kar
Created September 5, 2019 13:02
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m2kar/eb9033ab8a721d57e45429e375081c74 to your computer and use it in GitHub Desktop.
Save m2kar/eb9033ab8a721d57e45429e375081c74 to your computer and use it in GitHub Desktop.
软件学报的csl文献格式
<?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">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Journal of Software (numeric, Chinese)</title>
<id>http://www.zotero.org/styles/journal-of-software</id>
<link rel="self" href="http://www.zotero.org/styles/journal-of-software"/>
<link rel="template" href="http://www.zotero.org/styles/chinese-gb7714-2005-numeric"/>
<link href="http://gradschool.ustc.edu.cn/ylb/material/xw/wdxz/19.pdf" rel="documentation"/>
<author>
<email>carlsplace@live.cn</email>
<name>chang.yc</name>
</author>
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<category field="engineering"/>
<summary>This style just partly implemented what the Chinese GB/T 7714-2005 requires.</summary>
<updated>2017-09-16T00:46:05+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>
<macro name="author">
<names variable="author">
<name delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" ">
<name-part name="family" text-case="capitalize-first"/>
</name>
</names>
</macro>
<macro name="recipient">
<names variable="recipient">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="interviewer">
<names variable="interviewer">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="composer">
<names variable="composer">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="original-author">
<names variable="original-author">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="lowercase"/>
</names>
</macro>
<macro name="title">
<text variable="title" text-case="sentence"/>
</macro>
<macro name="titleField">
<choose>
<if type="report">
<text macro="title" suffix=". "/>
</if>
<else-if type="thesis">
<text macro="title" suffix=". "/>
</else-if>
<else-if type="bill legislation" match="any">
<text variable="number" suffix=", "/>
<text macro="title" suffix=". "/>
</else-if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="title" suffix=". "/>
</else-if>
<else-if type="paper-conference">
<text macro="title" suffix=". "/>
</else-if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" suffix=". "/>
</else-if>
<else-if type="webpage">
<text macro="title" suffix=". "/>
</else-if>
<else-if type="patent">
<text macro="title"/>
<text variable="number" prefix=". " suffix=". "/>
</else-if>
<else>
<text macro="title" suffix=". "/>
</else>
</choose>
</macro>
<macro name="secondaryAuthor">
<names variable="editor">
<name delimiter-precedes-last="always" initialize-with=" " name-as-sort-order="all" sort-separator=" ">
<name-part name="family" text-case="capitalize-first"/>
</name>
</names>
<names variable="translator">
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always" suffix=", 译"/>
</names>
</macro>
<macro name="publisher">
<choose>
<if type="chapter paper-conference" match="any">
<text variable="container-title" suffix=". "/>
</if>
<else-if type="report">
<text variable="collection-title" suffix=", "/>
<text variable="number" suffix=", "/>
</else-if>
<else-if type="bill legislation" match="any">
<text variable="container-title" prefix=". "/>
</else-if>
<else>
<text variable="container-title" suffix=", "/>
</else>
</choose>
<text variable="publisher-place" suffix=": "/>
<group delimiter=", ">
<text variable="publisher"/>
<choose>
<if type="webpage" variable="container-title" match="all">
<date variable="issued" suffix=". ">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
</if>
<else-if type="webpage"/>
<else-if type="patent">
<date variable="issued">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
</else-if>
<else-if variable="publisher">
<date variable="issued">
<date-part name="year"/>
</date>
</else-if>
<else-if type="bill legislation" match="any"/>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</group>
<text variable="volume" prefix=", "/>
<text variable="issue" prefix="(" suffix=")"/>
</macro>
<macro name="pageField">
<text variable="page"/>
</macro>
<macro name="referenceDate">
<choose>
<if type="webpage">
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
<date variable="accessed" prefix="[" suffix="]">
<date-part name="year"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-"/>
</date>
</if>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
<else-if variable="URL">
<text variable="URL"/>
</else-if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number" sort="ascending"/>
</sort>
<layout vertical-align="sup" prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="author" suffix=". "/>
<text macro="titleField"/>
<text macro="secondaryAuthor" suffix=". "/>
<text variable="edition" prefix="第" suffix="版. "/>
<text macro="publisher"/>
<text macro="pageField" prefix=": "/>
<text macro="referenceDate"/>
<choose>
<if type="webpage" match="any">
<text macro="access" prefix=". "/>
</if>
</choose>
<text macro="recipient"/>
<text macro="interviewer"/>
<text macro="composer"/>
<text macro="original-author"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment