Created
December 24, 2022 13:11
-
-
Save GrayXu/aa53525996f3dc2306568343b5df08c9 to your computer and use it in GitHub Desktop.
Zotero reference GB/T style for dblp BibTeX records
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.1mlz1" demote-non-dropping-particle="sort-only" default-locale="zh-CN"> | |
<info> | |
<title>MYJM</title> | |
<id>MYJM</id> | |
<link href="http://juris-m.github.io/jm-styles/jm-chinese-gb7714-2005-numeric" rel="self"/> | |
<link href="http://gradschool.ustc.edu.cn/ylb/material/xw/wdxz/19.pdf" rel="documentation"/> | |
<author> | |
<name>heromyth</name> | |
<email>[email protected]</email> | |
</author> | |
<category citation-format="numeric"/> | |
<category field="engineering"/> | |
<category field="generic-base"/> | |
<category field="science"/> | |
<summary>Edit the jm-styles to fit dblp BibTeX style.</summary> | |
<updated>2022-12-24T04:45:10+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> | |
<terms> | |
<term name="edition">第%s版</term> | |
</terms> | |
</locale> | |
<locale xml:lang="zh"> | |
<terms> | |
<term name="edition">第%s版</term> | |
</terms> | |
</locale> | |
<locale xml:lang="en"> | |
<terms> | |
<term name="edition"> %s edn.</term> | |
</terms> | |
</locale> | |
<macro name="author"> | |
<names variable="author"> | |
<name initialize-with=" " name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"> | |
<name-part name="family" text-case="uppercase"/> | |
</name> | |
</names> | |
</macro> | |
<macro name="trailing-contributor"> | |
<names variable="recipient"> | |
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/> | |
<label form="short" prefix=", " text-case="lowercase"/> | |
<substitute> | |
<names variable="interviewer"/> | |
<names variable="composer"/> | |
<names variable="original-author"/> | |
</substitute> | |
</names> | |
</macro> | |
<macro name="title"> | |
<text variable="title"/> | |
</macro> | |
<macro name="titleField"> | |
<choose> | |
<if type="report"> | |
<text macro="title"/> | |
</if> | |
<else-if type="thesis"> | |
<text macro="title"/> | |
</else-if> | |
<else-if type="bill legislation" match="any"> | |
<group delimiter=", "> | |
<number variable="number"/> | |
<text macro="title"/> | |
</group> | |
</else-if> | |
<else-if type="book graphic legal_case motion_picture song" match="any"> | |
<text macro="title"/> | |
</else-if> | |
<else-if type="paper-conference"> | |
<text macro="title"/> | |
</else-if> | |
<else-if type="chapter" match="any"> | |
<text macro="title"/> | |
</else-if> | |
<else-if type="webpage"> | |
<text macro="title"/> | |
</else-if> | |
<else-if type="patent"> | |
<text macro="title"/> | |
<number variable="number" prefix=": 中国, "/> | |
</else-if> | |
<else> | |
<text macro="title"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="titleFieldSuffix"> | |
<choose> | |
<if type="report"> | |
<text value="[R]."/> | |
</if> | |
<else-if type="thesis"> | |
<text value="[D]."/> | |
</else-if> | |
<else-if type="bill legislation" match="any"> | |
<text value="[S]"/> | |
</else-if> | |
<else-if type="book graphic legal_case motion_picture song" match="any"> | |
<text value="[M]."/> | |
</else-if> | |
<else-if type="paper-conference"> | |
<text value="[C]//"/> | |
</else-if> | |
<else-if type="chapter" match="any"> | |
<text value="[G]//"/> | |
</else-if> | |
<else-if type="webpage"> | |
<text value="[EB/OL]."/> | |
</else-if> | |
<else-if type="patent"> | |
<text value="[P]."/> | |
</else-if> | |
<else> | |
<text value="[J]."/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="secondaryAuthor"> | |
<names variable="editor"> | |
<name initialize-with=" " name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"> | |
<name-part name="family" text-case="uppercase"/> | |
</name> | |
</names> | |
<names variable="translator"> | |
<name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always" suffix=", 译"/> | |
</names> | |
</macro> | |
<macro name="publisherMain"> | |
<choose> | |
<if type="chapter paper-conference" match="any"> | |
<text variable="container-title" suffix="."/> | |
</if> | |
<else-if type="report"> | |
<group delimiter=", "> | |
<text variable="collection-title"/> | |
<number variable="number" suffix=","/> | |
</group> | |
</else-if> | |
<else-if type="bill legislation" match="any"> | |
<text variable="container-title" prefix=". "/> | |
</else-if> | |
<else> | |
<text variable="container-title" suffix=","/> | |
</else> | |
</choose> | |
</macro> | |
<!-- | |
<text variable="event" suffix="event "/> | |
<text variable="event-place" suffix="event-place "/> | |
<text variable="original-title" suffix="original-title"/> | |
--> | |
<macro name="publisherSupp"> | |
<group delimiter=", "> | |
<!-- <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> | |
<group> | |
<number variable="volume"/> | |
<number variable="issue" prefix="(" suffix=")"/> | |
</group> | |
</group> | |
</macro> | |
<macro name="pageField"> | |
<number 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> | |
<macro name="bib-entry-zh"> | |
<group delimiter=""> | |
<group delimiter=" "> | |
<group delimiter=""> | |
<group delimiter=" "> | |
<text macro="author" suffix="."/> | |
<group delimiter=""> | |
<choose> | |
<if type="bill legislation paper-conference chapter"> | |
<group delimiter=""> | |
<text macro="titleField"/> | |
<text macro="titleFieldSuffix"/> | |
</group> | |
<!-- join with NO SPACE for bill legislation paper-conference chapter --> | |
</if> | |
</choose> | |
<group delimiter=" "> | |
<choose> | |
<if type="bill legislation paper-conference chapter"/> | |
<else> | |
<group delimiter=""> | |
<text macro="titleField"/> | |
<text macro="titleFieldSuffix"/> | |
</group> | |
<!-- join with SPACE for report thesis book graphic legal_case motion_picture song webpage patent [others] --> | |
</else> | |
</choose> | |
<text macro="secondaryAuthor" suffix="."/> | |
<group delimiter=""> | |
<label variable="edition"/> | |
<number variable="edition"/> | |
</group> | |
<group delimiter=""> | |
<text macro="publisherMain"/> | |
<text macro="publisherSupp"/> | |
</group> | |
<choose> | |
<if type="bill legislation"/> | |
<else> | |
<!-- join with SPACE for [others] --> | |
<text macro="pageField" prefix=": "/> | |
</else> | |
</choose> | |
</group> | |
<choose> | |
<if type="bill legislation"> | |
<!-- join with NO SPACE for bill legislation --> | |
<text macro="pageField" prefix=": "/> | |
</if> | |
</choose> | |
</group> | |
</group> | |
<text macro="referenceDate"/> | |
</group> | |
<choose> | |
<if type="webpage" match="any"> | |
<text macro="access" prefix="."/> | |
</if> | |
</choose> | |
</group> | |
<text macro="trailing-contributor"/> | |
</group> | |
</macro> | |
<macro name="bib-entry-en"> | |
<group delimiter=""> | |
<group delimiter=" "> | |
<group delimiter=" "> | |
<group delimiter=" "> | |
<text macro="author" suffix="."/> | |
<group delimiter=""> | |
<choose> | |
<if type="bill legislation paper-conference chapter"> | |
<group delimiter=" "> | |
<text macro="titleField"/> | |
<text macro="titleFieldSuffix"/> | |
</group> | |
<!-- join with NO SPACE for bill legislation paper-conference chapter --> | |
</if> | |
</choose> | |
<group delimiter=" "> | |
<choose> | |
<if type="bill legislation paper-conference chapter"/> | |
<else> | |
<group delimiter=" "> | |
<text macro="titleField"/> | |
<text macro="titleFieldSuffix"/> | |
</group> | |
<!-- join with SPACE for report thesis book graphic legal_case motion_picture song webpage patent [others] --> | |
</else> | |
</choose> | |
<text macro="secondaryAuthor" suffix="."/> | |
<number variable="edition"/> | |
<group delimiter=" "> | |
<text macro="publisherMain"/> | |
<text macro="publisherSupp"/> | |
</group> | |
<choose> | |
<if type="bill legislation"/> | |
<else> | |
<!-- join with SPACE for [others] --> | |
<text macro="pageField" prefix=": "/> | |
</else> | |
</choose> | |
</group> | |
<choose> | |
<if type="bill legislation"> | |
<!-- join with NO SPACE for bill legislation --> | |
<text macro="pageField" prefix=": "/> | |
</if> | |
</choose> | |
</group> | |
</group> | |
<text macro="referenceDate"/> | |
</group> | |
<choose> | |
<if type="webpage" match="any"> | |
<text macro="access" prefix="."/> | |
</if> | |
</choose> | |
</group> | |
<text macro="trailing-contributor"/> | |
</group> | |
</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 et-al-min="3" et-al-use-first="3" second-field-align="flush" entry-spacing="0"> | |
<layout suffix="." locale="en"> | |
<text variable="citation-number" prefix="[" suffix="]"/> | |
<text macro="bib-entry-en"/> | |
</layout> | |
<layout suffix="."> | |
<text variable="citation-number" prefix="[" suffix="]"/> | |
<text macro="bib-entry-zh"/> | |
</layout> | |
</bibliography> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment