Skip to content

Commit

Permalink
新增《生物多样性》样式(#181
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jul 4, 2023
1 parent 2019079 commit 96f346a
Show file tree
Hide file tree
Showing 5 changed files with 918 additions and 0 deletions.
325 changes: 325 additions & 0 deletions 220biodiversity-science.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" name-as-sort-order="all" sort-separator=" " initialize-with="" initialize-with-hyphen="false" demote-non-dropping-particle="never" page-range-format="expanded" default-locale="en-US">
<info>
<title>生物多样性</title>
<id>http://www.zotero.org/styles/biodiversity-science</id>
<link href="http://www.zotero.org/styles/biodiversity-science" rel="self"/>
<link href="https://www.biodiversity-science.net/UserFiles/File/%E3%80%8A%E7%94%9F%E7%89%A9%E5%A4%9A%E6%A0%B7%E6%80%A7%E3%80%8B2016%E5%B9%B4%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E4%BF%AE%E6%94%B9%E6%A0%BC%E5%BC%8F.pdf" rel="documentation"/>
<author>
<name>Zeping Lee</name>
<email>zepinglee@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>1005-0094</issn>
<summary>1. 文献的语言默认为英语。中文文献需要在 `language` 字段填写 `zh` 或 `zh-CN`。2. 中文文献需要将作者姓名、标题、期刊、出版地、出版社的英文翻译分别填写在 `extra` 中的 `original-author`, `original-title`, `original-container-title`, `original-publisher-place`, `original-publisher` 字段。</summary>
<updated>2023-07-04T23:10:06+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">
<terms>
<term name="edition" form="short">版</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>
<locale>
<date form="numeric">
<date-part name="year" range-delimiter="/"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
</date>
<terms>
<term name="edition" form="short">edn.</term>
<term name="page-range-delimiter">–</term>
<term name="page" form="short">
<single>p.</single>
<multiple>pp.</multiple>
</term>
</terms>
</locale>
<macro name="author-bib">
<choose>
<if variable="translator">
<names variable="translator">
<name/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</if>
<else>
<names variable="author"/>
</else>
</choose>
</macro>
<macro name="author-bib-translation">
<choose>
<if variable="original-author">
<names variable="original-author"/>
</if>
<else>
<names variable="author"/>
</else>
</choose>
</macro>
<macro name="author-sort">
<choose>
<if variable="original-author">
<names variable="original-author"/>
</if>
<else>
<names variable="author"/>
</else>
</choose>
<names variable="author"/>
</macro>
<macro name="author-intext-en">
<names variable="author">
<name form="short" and="symbol"/>
</names>
</macro>
<macro name="author-intext-zh">
<names variable="author">
<name and="text"/>
</names>
</macro>
<macro name="date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
<macro name="title">
<group delimiter=", ">
<choose>
<if type="book thesis" match="any">
<text variable="title" text-case="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
<text macro="edition"/>
</group>
</macro>
<macro name="title-translation">
<choose>
<if type="book thesis" match="any">
<text variable="original-title" text-case="title"/>
</if>
<else>
<text variable="original-title"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="editor">
<names variable="editor">
<label form="short" strip-periods="true" suffix=" "/>
<name/>
<substitute>
<names variable="editorial-director"/>
<names variable="collection-editor"/>
<names variable="container-author"/>
</substitute>
</names>
</macro>
<macro name="container">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=", ">
<text variable="container-title"/>
<text variable="volume"/>
<text variable="page"/>
</group>
</if>
<else-if variable="container-title">
<text term="in" text-case="capitalize-first" suffix=": "/>
<group delimiter=", ">
<group delimiter=" ">
<text variable="container-title" text-case="title"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text macro="page"/>
</group>
</else-if>
</choose>
</macro>
<macro name="container-translation">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=", ">
<text variable="original-container-title"/>
<text variable="volume"/>
<text variable="page"/>
</group>
</if>
<else-if variable="original-container-title">
<text value="In: "/>
<group delimiter=", ">
<group delimiter=" ">
<text variable="original-container-title" text-case="title"/>
<text macro="editor" prefix="(" suffix=")"/>
</group>
<text macro="page"/>
</group>
</else-if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<choose>
<if type="thesis">
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
<else>
<text value="PhD dissertation"/>
</else>
</choose>
</if>
</choose>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="publisher-translation">
<group delimiter=", ">
<choose>
<if type="thesis">
<choose>
<if variable="genre">
<text variable="genre"/>
</if>
<else>
<text value="博士学位论文"/>
</else>
</choose>
</if>
</choose>
<text variable="original-publisher"/>
<text variable="original-publisher-place"/>
</group>
</macro>
<macro name="page">
<choose>
<if is-numeric="page">
<group delimiter=" ">
<label variable="page" form="short"/>
<number variable="page"/>
</group>
</if>
<else>
<text variable="page"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="post post-weblog webpage">
<group delimiter=" ">
<text variable="URL"/>
<date variable="accessed" form="numeric" prefix="(" suffix=")"/>
</group>
</if>
</choose>
</macro>
<macro name="bib-layout">
<group delimiter=" ">
<text macro="author-bib"/>
<text macro="date" prefix="(" suffix=")"/>
<group delimiter=". " suffix=".">
<text macro="title"/>
<text macro="container"/>
<text macro="publisher"/>
</group>
<text macro="access"/>
</group>
</macro>
<macro name="bib-layout-translation">
<group delimiter=" ">
<text macro="author-bib-translation"/>
<text macro="date" prefix="(" suffix=")"/>
<group delimiter=". " suffix=".">
<text macro="title-translation"/>
<text macro="container-translation"/>
<text macro="publisher-translation"/>
</group>
<text macro="access"/>
</group>
</macro>
<macro name="locator">
<choose>
<if is-numeric="locator">
<group delimiter=" ">
<label variable="locator" form="short"/>
<number variable="locator"/>
</group>
</if>
<else>
<text variable="locator"/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year">
<layout prefix="(" suffix=")" delimiter="" locale="zh">
<group delimiter="">
<text macro="author-intext-zh"/>
<text macro="date"/>
<text macro="locator"/>
</group>
</layout>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-intext-en"/>
<text macro="date"/>
<text macro="locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="10" entry-spacing="0">
<sort>
<key macro="author-sort"/>
<key macro="date"/>
</sort>
<layout locale="zh">
<group delimiter=" ">
<text macro="bib-layout-translation"/>
<choose>
<if variable="abstract">
<text value="(in Chinese with English abstract)"/>
</if>
<else>
<text value="(in Chinese)"/>
</else>
</choose>
<text macro="bib-layout" prefix="[" suffix="]"/>
</group>
</layout>
<layout>
<text macro="bib-layout"/>
</layout>
</bibliography>
</style>
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,40 @@ Bartov, E.; Mohanram, P. and Seethamraju, C. “Valuation of Internet Stocks—A
</blockquote>


## [220biodiversity-science.csl]

[生物多样性](https://ceq.ccer.pku.edu.cn/)》样式。

注意事项:

1. 文献的语言默认为英语。中文文献需要在 `language` 字段填写 `zh``zh-CN`
2. 中文文献需要将作者姓名、标题、期刊、出版地、出版社的英文翻译分别填写在 `extra` 中的 `original-author`, `original-title`, `original-container-title`, `original-publisher-place`, `original-publisher` 字段。

显示效果:

<blockquote>
(Begon et al., 1986)<br>
(Li &#38; Durbin, 2011)<br>
(于飞海,2002)<br>
(张明海和马建章,2010)<br>
(宋永昌等,2015)<br>
</blockquote>

<blockquote>
<div class="csl-bib-body hanging-indent">
<div class="csl-entry">Begon M, Harper JL, Townsend CR (1986) Ecology: Individuals, Populations and Communities, 2nd edn. Blackwell Scientific Publications, Boston.</div>
<div class="csl-entry">International Union for Conservation of Nature (IUCN) (2000) Authority files for habitats &#38; threats. <a href="http://www.iucn.org/themes/ssc/sis/authority.html">http://www.iucn.org/themes/ssc/sis/authority.html</a> (2023-07-04)</div>
<div class="csl-entry">Jiang ZG, Ma Y, Wu Y, Wang YX, Feng ZJ (2015) China’s mammal diversity and geographic distribution. Science Press, Beijing. (in Chinese) [蒋志刚, 马勇, 吴毅, 王应祥, 冯祚建 (2015) 中国哺乳动物多样性. 科学出版社, 北京.]</div>
<div class="csl-entry">Lawton JH, Brown VK (1993) Redundancy in ecosystems. In: Biodiversity and Ecosystem Function (eds Schulze ED, Mooney HA), pp. 255–270. Springer-Verlag, New York.</div>
<div class="csl-entry">Li H, Durbin R (2011) Inference of human population history from individual whole-genome sequences. Nature, 475, 493–496.</div>
<div class="csl-entry">Mueller-Dombois D, Ellenberg H (1986) Aims and Methods of Vegetation Ecology. Science Press, Beijing. (in Chinese with English abstract) [鲍显诚, 张绅, 杨邦顺, 金振洲, 唐廷贵, 姚璧君, 姜汉侨 (译) (1986) 植被生态学的目的和方法. 科学出版社, 北京.]</div>
<div class="csl-entry">Song YC, Yan ER, Song K (2015) Synthetic comparison of eight dynamics plots in evergreen broadleaf forests, China. Biodiversity Science, 23, 139–148. (in Chinese with English abstract) [宋永昌, 阎恩荣, 宋坤 (2015) 中国常绿阔叶林 8 大动态监测样地植被的综合比较. 生物多样性, 23, 139–148.]</div>
<div class="csl-entry">Yu FH (2002) Adaptive Strategies of Clonal Plants Growing in Heterogeneous Environments. 博士学位论文, Institute of Botany, Chinese Academy of Sciences, Beijing. (in Chinese) [于飞海 (2002) 克隆植物对异质性环境的生态适应对策. 博士学位论文, 中国科学院植物研究所, 北京.]</div>
<div class="csl-entry">Zhang MH, Ma JZ (2010) Current status and protection vision of wild northeast tiger in China. Chinese Journal of Zoology, 45, 165–168. (in Chinese) [张明海, 马建章 (2010) 中国野生东北虎现状及其保护愿景展望. 动物学杂志, 45, 165–168.]</div>
</div>
</blockquote>


## [301manual-of-legal-citation-multi-lingual.csl]

[法学引注手册](https://www.pup.cn/bookDetail?id=910497ac470d4880ab56c6709bb1d7c5)》(2020 年版)。
Expand Down Expand Up @@ -2382,6 +2416,7 @@ WPS Office中添加Zotero工具条的方法<https://zhuanlan.zhihu.com/p/5802059
[216acta-psychologica-sinica.csl]: 216acta-psychologica-sinica.csl
[217the-journal-of-world-economy.csl]: 217the-journal-of-world-economy.csl
[219china-economic-quarterly.csl]: 219china-economic-quarterly.csl
[220biodiversity-science.csl]: 220biodiversity-science.csl
[301manual-of-legal-citation-multi-lingual.csl]: 301manual-of-legal-citation-multi-lingual.csl
[303gb-t-7714-2015-note-bilingual.csl]: 005gb-t-7714-2015-note-bilingual.csl
[304gb-t-7714-2015-note-bilingual-no-ibid.csl]: 304gb-t-7714-2015-note-bilingual-no-ibid.csl
Expand Down
Loading

0 comments on commit 96f346a

Please sign in to comment.