Skip to content

Commit

Permalink
北京林业大学:修正预印本格式
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Dec 4, 2023
1 parent b70d66b commit 429eb63
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 11 deletions.
26 changes: 22 additions & 4 deletions 426beijing-forestry-university.csl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>《北京林业大学研究生学位论文写作指南》(2023年11月更新)</summary>
<updated>2023-12-04T11:12:51+08:00</updated>
<updated>2023-12-04T11:56:55+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">
Expand Down Expand Up @@ -117,8 +117,8 @@
<macro name="type-code">
<choose>
<if type="article">
<!-- article 为预印本,符合国标的“档案”(A)类型:“分类保存以备查考的文件和材料,如……科技档案” -->
<text value="A"/>
<!-- 预印本文章要求的文献类型标识为 J,但是这很不合理 -->
<text value="J"/>
</if>
<else-if type="article-journal article-magazine periodical" match="any">
<text value="J"/>
Expand Down Expand Up @@ -282,6 +282,17 @@
<text macro="issued-date"/>
<text macro="accessed-date"/>
</if>
<else-if type="article">
<!-- 预印本的格式为“arXiv preprint arXiv: 2110.02799, 2018” -->
<group delimiter=", ">
<group delimiter=" ">
<text variable="publisher"/>
<text term="preprint"/>
<text variable="number"/>
</group>
<text macro="issued-year"/>
</group>
</else-if>
<else-if type="book chapter paper-conference periodical thesis" variable="publisher page" match="any">
<!-- 非纯电子资源的格式“出版地: 出版者, 出版年: 页码[引用日期]” -->
<group delimiter=": ">
Expand All @@ -302,7 +313,7 @@
<choose>
<if type="dataset post post-weblog software webpage" match="any">
<!-- 限制更少的类型作为“纯电子文献“ -->
<text macro="issued-date" prefix="(" suffix=")"/>
<text macro="issued-date"/>
<text macro="accessed-date"/>
</if>
<else>
Expand Down Expand Up @@ -378,6 +389,13 @@
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="post-weblog">
<text macro="title"/>
<group delimiter=", ">
<text macro="container-booklike"/>
<text macro="issued-date"/>
</group>
</else-if>
<else-if type="dataset post post-weblog software webpage" match="any">
<!-- 4.6 电子资源 -->
<text macro="title"/>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ available-date: 2014-01-26
<div class="csl-entry">[5] 武丽丽, 华一新, 张亚军, 等. “北斗一号”监控管理网设计与实现[J]. 测绘科学, 2008, 33(5): 8-9.</div>
<div class="csl-entry">[6] Myburg A A, Grattapaglia D, Tuskan G A, et al. The genome of eucalyptus grandis[J]. Nature, 2014, 510: 356-362.</div>
<div class="csl-entry">[7] 中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>
<div class="csl-entry">[8] Bawden D. Origins and concepts of digital literacy[EB/OL]. (2008-05-04)[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
<div class="csl-entry">[8] Bawden D. Origins and concepts of digital literacy[EB/OL]. 2008-05-04[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
</div>
</blockquote>
Expand Down
2 changes: 1 addition & 1 deletion tests/styles/426beijing-forestry-university/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
<div class="csl-entry">[5] 武丽丽, 华一新, 张亚军, 等. “北斗一号”监控管理网设计与实现[J]. 测绘科学, 2008, 33(5): 8-9.</div>
<div class="csl-entry">[6] Myburg A A, Grattapaglia D, Tuskan G A, et al. The genome of eucalyptus grandis[J]. Nature, 2014, 510: 356-362.</div>
<div class="csl-entry">[7] 中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>
<div class="csl-entry">[8] Bawden D. Origins and concepts of digital literacy[EB/OL]. (2008-05-04)[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
<div class="csl-entry">[8] Bawden D. Origins and concepts of digital literacy[EB/OL]. 2008-05-04[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
</div>
127 changes: 127 additions & 0 deletions tests/styles/426beijing-forestry-university/test-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
[
{
"id": "bfu.g.01:04",
"type": "article",
"abstract": "Quadrupedal landing is a complex process involving large impacts, elaborate contact transitions, and is a crucial recovery behavior observed in many biological animals. This work presents a real-time, optimal landing controller that is free of pre-specified contact schedules. The controller determines optimal touchdown postures and reaction force profiles and is able to recover from a variety of falling configurations. The quadrupedal platform used, the MIT Mini Cheetah, recovered safely from drops of up to 8 m in simulation, as well as from a range of orientations and planar velocities. The controller is also tested on hardware, successfully recovering from drops of up to 2 m.",
"DOI": "10.48550/arXiv.2110.02799",
"language": "en-US",
"number": "arXiv:2110.02799",
"publisher": "arXiv",
"source": "arXiv.org",
"title": "Real-time Optimal Landing Control of the MIT Mini Cheetah",
"URL": "http://arxiv.org/abs/2110.02799",
"author": [
{
"family": "Jeon",
"given": "Se Hwan"
},
{
"family": "Kim",
"given": "Sangbae"
},
{
"family": "Kim",
"given": "Donghyun"
}
],
"accessed": {
"date-parts": [
[
"2023",
12,
4
]
]
},
"issued": {
"date-parts": [
[
"2021",
10,
6
]
]
}
},
{
"id": "bfu.g.10:23",
"type": "post-weblog",
"container-title": "微信公众号“英语学习指南”",
"language": "zh-CN",
"title": "如何有效学习英语",
"author": [
{
"literal": "张三"
}
],
"issued": {
"date-parts": [
[
"2022",
6,
20
]
]
}
},
{
"id": "bfu.g.10:24",
"type": "webpage",
"language": "en-US",
"title": "Robots",
"URL": "https://innfos.com/",
"author": [
{
"literal": "Innfos"
}
],
"accessed": {
"date-parts": [
[
"2020",
4,
30
]
]
},
"issued": {
"date-parts": [
[
"2020",
1,
1
]
]
}
},
{
"id": "bfu.g.10:25",
"type": "webpage",
"language": "zh-CN",
"title": "出版业信息化迈入快车道",
"URL": "http://www.reader.com/news/20011219/200112190019.html",
"author": [
{
"literal": "萧钰"
}
],
"accessed": {
"date-parts": [
[
"2002",
4,
15
]
]
},
"issued": {
"date-parts": [
[
"2001",
12,
19
]
]
}
}
]
10 changes: 5 additions & 5 deletions tests/styles/426beijing-forestry-university/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ Undefined
<div class="csl-entry">[39] Tachibana R, Shimizu S, Kobayshi S, et al. Electronic watermarking method and system: US6915001[P]. 2005-07-05.</div>
<div class="csl-entry">[40] 中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>
<div class="csl-entry">[41] 北京市人民政府办公厅. 关于转发北京市企业投资项目核准暂行实施办法的通知: 京政办发[2005]37号[A]. 2005.</div>
<div class="csl-entry">[42] Bawden D. Origins and concepts of digital literacy[EB/OL]. (2008-05-04)[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
<div class="csl-entry">[42] Bawden D. Origins and concepts of digital literacy[EB/OL]. 2008-05-04[2013-03-08]. <a href="http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf">http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf</a>.</div>
<div class="csl-entry">[43] Online Computer Library Center, Inc. About OCLC: History of cooperation[EB/OL]. [2012-03-27]. <a href="http://www.oclc.org/about/cooperation.en.html">http://www.oclc.org/about/cooperation.en.html</a>.</div>
<div class="csl-entry">[44] Hopkinson A. UNIMARC and metadata: Dublin core[EB/OL]. (2009-04-22)[2013-03-27]. <a href="http://archive.ifla.org/IV/ifla64/138-161e.htm">http://archive.ifla.org/IV/ifla64/138-161e.htm</a>.</div>
<div class="csl-entry">[44] Hopkinson A. UNIMARC and metadata: Dublin core[EB/OL]. 2009-04-22[2013-03-27]. <a href="http://archive.ifla.org/IV/ifla64/138-161e.htm">http://archive.ifla.org/IV/ifla64/138-161e.htm</a>.</div>
<div class="csl-entry">[45] Coffee drinking and cancer of the pancreas[J]. British Medical Journal, 1981, 283(6292): 628.</div>
<div class="csl-entry">[46] 刘乃安. 生物质材料热解失重动力学及其分析方法研究[D]. 合肥: 中国科学技术大学, 2000: 17-18.</div>
<div class="csl-entry">[47] Deverell W, Igler D. A companion to California history[D]. New York: John Wiley &#38; Sons, 2013: 21-22.</div>
Expand Down Expand Up @@ -169,8 +169,8 @@ Undefined
<div class="csl-entry">[122] 张田勤. 罪犯 DNA 库与生命伦理学计划[N]. 大众科技报, 2000-11-12(7).</div>
<div class="csl-entry">[123] 傅刚, 赵承, 李佳路. 大风沙过后的思考[N]. 北京青年报, 2000-01-12.</div>
<div class="csl-entry">[124] 刘裕国, 杨柳, 张洋, 等. 雾霾来袭, 如何突围?[N]. 人民日报, 2013-01-12.</div>
<div class="csl-entry">[125] 萧钰. 出版业信息化迈入快车道[EB/OL]. (2001-12-19)[2002-04-15]. <a href="http://www.creader.com/news/20011219/200112190019.html">http://www.creader.com/news/20011219/200112190019.html</a>.</div>
<div class="csl-entry">[126] 李强. 化解医患矛盾需釜底抽薪[EB/OL]. (2012-05-03)[2013-03-25]. <a href="http://wenku.baidu.com/view/47e4f206b52acfc789ebc92f.html">http://wenku.baidu.com/view/47e4f206b52acfc789ebc92f.html</a>.</div>
<div class="csl-entry">[125] 萧钰. 出版业信息化迈入快车道[EB/OL]. 2001-12-19[2002-04-15]. <a href="http://www.creader.com/news/20011219/200112190019.html">http://www.creader.com/news/20011219/200112190019.html</a>.</div>
<div class="csl-entry">[126] 李强. 化解医患矛盾需釜底抽薪[EB/OL]. 2012-05-03[2013-03-25]. <a href="http://wenku.baidu.com/view/47e4f206b52acfc789ebc92f.html">http://wenku.baidu.com/view/47e4f206b52acfc789ebc92f.html</a>.</div>
<div class="csl-entry">[127] Commonwealth Libraries Bureau of Library Development. Pennsylvania Department of Education Office. Pennsylvania library laws[EB/OL]. [2013-03-24]. <a href="http://www.racc.edu/yocum/pdf/PALibraryLaws.pdf">http://www.racc.edu/yocum/pdf/PALibraryLaws.pdf</a>.</div>
<div class="csl-entry">[128] Dublin core metadata element set: version 1.1[EB/OL]. (2012-06-14)[2014-06-11]. <a href="http://dublincore.org/documents/dces/">http://dublincore.org/documents/dces/</a>.</div>
<div class="csl-entry">[128] Dublin core metadata element set: version 1.1[EB/OL]. 2012-06-14[2014-06-11]. <a href="http://dublincore.org/documents/dces/">http://dublincore.org/documents/dces/</a>.</div>
</div>

0 comments on commit 429eb63

Please sign in to comment.