Skip to content

Commit

Permalink
格式化 CSL 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jul 16, 2024
1 parent 5fdbc70 commit d387d9b
Show file tree
Hide file tree
Showing 31 changed files with 77 additions and 54 deletions.
5 changes: 3 additions & 2 deletions src/acta-ecologica-sinica/acta-ecologica-sinica.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<category field="biology"/>
<issn>1000-0933</issn>
<summary>期刊要求“正文内参考文献按顺序号标注在文字右上角时,一旦是连续文献号请一定确认使用一字线符号‘&#8212;’。”CSL 无法实现,只能搜索替换。</summary>
<updated>2024-06-18T15:36:05+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -344,7 +344,8 @@
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike"/></group>
<text macro="container-booklike"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
2 changes: 1 addition & 1 deletion src/acta-ecologica-sinica/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"citation_format": "numeric",
"field": "biology",
"summary": "期刊要求“正文内参考文献按顺序号标注在文字右上角时,一旦是连续文献号请一定确认使用一字线符号‘—’。”CSL 无法实现,只能搜索替换。",
"updated": "2024-06-18T15:36:05+08:00",
"updated": "2024-07-16T17:49:57+08:00",
"citations": "<sup>[1–8]</sup>",
"bibliography": "<div class=\"csl-bib-body maxoffset-3 second-field-align-flush hangingindent-false\">\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[1]</div><div class=\"csl-right-inline\">库恩. 科学革命的结构: 第 4 版. 金吾伦, 胡新和, 译. 2 版. 北京: 北京大学出版社, 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[2]</div><div class=\"csl-right-inline\">Fan X, Sommers C H. Food irradiation research and technology. 2nd ed. Ames, Iowa: Blackwell Publishing, 2013: 25-26.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[3]</div><div class=\"csl-right-inline\">贾东琴, 柯平. 面向数字素养的高校图书馆数字服务体系研究//中国图书馆学会. 中国图书馆学会年会论文集: 2011 年卷. 北京: 国家图书馆出版社, 2011: 45-52.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[4]</div><div class=\"csl-right-inline\">Fourney M E. Advances in holographic photoelasticity//Symposium on Applications of Holography in Mechanics, August 23–25, 1971, University of Southern California, Los Angeles, California. New York: ASME, c1971: 17-38.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[5]</div><div class=\"csl-right-inline\">武丽丽, 华一新, 张亚军, 刘英敏. “北斗一号”监控管理网设计与实现. 测绘科学, 2008, 33(5): 8-9.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[6]</div><div class=\"csl-right-inline\">Myburg A A, Grattapaglia D, Tuskan G A, Hellsten U, Hayes R D, Grimwood J, Jenkins J, Lindquist E, Tice H, Bauer D, Goodstein D M, Dubchak I, Poliakov A, Mizrachi E, Kullan A R K, Hussey S G, Pinard D, van der Merwe K, Singh P, van Jaarsveld I, Silva-Junior O B, Togawa R C, Pappas M R, Faria D A, Sansaloni C P, Petroli C D, Yang X, Ranjan P, Tschaplinski T J, Ye C Y, Li T, Sterck L, Vanneste K, Murat F, Soler M, Clemente H S, Saidi N, Cassan-Wang H, Dunand C, Hefer C A, Bornberg-Bauer E, Kersting A R, Vining K, Amarasinghe V, Ranik M, Naithani S, Elser J, Boyd A E, Liston A, Spatafora J W, Dharmwardhana P, Raja R, Sullivan C, Romanel E, Alves-Ferreira M, Külheim C, Foley W, Carocha V, Paiva J, Kudrna D, Brommonschenkel S H, Pasquali G, Byrne M, Rigault P, Tibbits J, Spokevicius A, Jones R C, Steane D A, Vaillancourt R E, Potts B M, Joubert F, Barry K, Pappas G J, Strauss S H, Jaiswal P, Grima-Pettenati J, Salse J, Van de Peer Y, Rokhsar D S, Schmutz J. The genome of eucalyptus grandis. Nature, 2014, 510: 356-362.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[7]</div><div class=\"csl-right-inline\">中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告. 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[8]</div><div class=\"csl-right-inline\">Bawden D. Origins and concepts of digital literacy. (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>\n </div>\n</div>",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<category citation-format="numeric"/>
<category field="political_science"/>
<summary>1. 按照语言显示“等”或“et al.”;2. 姓名缩写不加点;3. 中文不加页码;4. 英文题目为单词首字母大写,包括of, to等,需要手动改为小写;英文期刊名为斜体。</summary>
<updated>2024-06-06T22:19:17+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -483,7 +483,8 @@
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike"/></group>
<text macro="container-booklike"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down Expand Up @@ -531,7 +532,8 @@
<text macro="title-zh"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike"/></group>
<text macro="container-booklike"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
2 changes: 1 addition & 1 deletion src/chinese-public-administration/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"citation_format": "numeric",
"field": "political_science",
"summary": "1. 按照语言显示“等”或“et al.”;2. 姓名缩写不加点;3. 中文不加页码;4. 英文题目为单词首字母大写,包括of, to等,需要手动改为小写;英文期刊名为斜体。",
"updated": "2024-06-06T22:19:17+08:00",
"updated": "2024-07-16T17:49:57+08:00",
"citations": "<sup>[1–8]</sup>",
"bibliography": "<div class=\"csl-bib-body maxoffset-3 second-field-align-flush hangingindent-false\">\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[1]</div><div class=\"csl-right-inline\">库恩. 科学革命的结构: 第 4 版[M]. 金吾伦, 胡新和译. 2 版. 北京, 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[2]</div><div class=\"csl-right-inline\">Fan X, Sommers C H. <i>Food irradiation research and technology</i>. 2nd ed. Ames, Iowa, 2013: 25-26.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[3]</div><div class=\"csl-right-inline\">贾东琴, 柯平. 面向数字素养的高校图书馆数字服务体系研究[C]//中国图书馆学会. 中国图书馆学会年会论文集: 2011 年卷. 北京, 2011: 45-52.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[4]</div><div class=\"csl-right-inline\">Fourney M E. Advances in holographic photoelasticity//<i>Symposium on Applications of Holography in Mechanics</i>, August 23–25, 1971, University of Southern California, Los Angeles, California. New York, c1971: 17-38.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[5]</div><div class=\"csl-right-inline\">武丽丽, 华一新, 张亚军, 等. “北斗一号”监控管理网设计与实现[J]. 测绘科学, 2008(5).</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[6]</div><div class=\"csl-right-inline\">Myburg A A, Grattapaglia D, Tuskan G A, et al. The genome of eucalyptus grandis. <i>Nature</i>, 2014, 510: 356-362.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[7]</div><div class=\"csl-right-inline\">中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[8]</div><div class=\"csl-right-inline\">Bawden D. Origins and concepts of digital literacy. (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>\n </div>\n</div>",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>1. 按照语言显示“等”或“et al.”;2. 姓名取消全大写;3. 专利显示国别、引用日期;4. 无 DOI。</summary>
<updated>2024-06-06T22:19:17+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -414,7 +414,8 @@
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike"/></group>
<text macro="container-booklike"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"citation_format": "numeric",
"field": "generic-base",
"summary": "1. 按照语言显示“等”或“et al.”;2. 姓名取消全大写;3. 专利显示国别、引用日期;4. 无 DOI。",
"updated": "2024-06-06T22:19:17+08:00",
"updated": "2024-07-16T17:49:57+08:00",
"citations": "<sup>[1–8]</sup>",
"bibliography": "<div class=\"csl-bib-body maxoffset-3 second-field-align-flush hangingindent-false\">\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[1]</div><div class=\"csl-right-inline\">库恩. 科学革命的结构: 第 4 版[M]. 金吾伦, 胡新和, 译. 2 版. 北京: 北京大学出版社, 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[2]</div><div class=\"csl-right-inline\">Fan X, Sommers C H. Food Irradiation Research and Technology[M]. 2nd ed. Ames, Iowa: Blackwell Publishing, 2013: 25-26.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[3]</div><div class=\"csl-right-inline\">贾东琴, 柯平. 面向数字素养的高校图书馆数字服务体系研究[C]//中国图书馆学会. 中国图书馆学会年会论文集: 2011 年卷. 北京: 国家图书馆出版社, 2011: 45-52.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[4]</div><div class=\"csl-right-inline\">Fourney M E. Advances in Holographic Photoelasticity[C]//Symposium on Applications of Holography in Mechanics, 1971年8月23—25日, University of Southern California, Los Angeles, California. New York: ASME, c1971: 17-38.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[5]</div><div class=\"csl-right-inline\">武丽丽, 华一新, 张亚军, 等. “北斗一号”监控管理网设计与实现[J]. 测绘科学, 2008, 33(5): 8-9.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[6]</div><div class=\"csl-right-inline\">Myburg A A, Grattapaglia D, Tuskan G A, et al. The Genome of Eucalyptus Grandis[J]. Nature, 2014, 510: 356-362.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[7]</div><div class=\"csl-right-inline\">中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[8]</div><div class=\"csl-right-inline\">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>\n </div>\n</div>",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</author>
<category citation-format="numeric"/>
<category field="generic-base"/>
<updated>2024-06-06T22:19:17+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -375,7 +375,8 @@
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike"/></group>
<text macro="container-booklike"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
2 changes: 1 addition & 1 deletion src/hebei-agricultural-university/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"contributor": [],
"citation_format": "numeric",
"field": "generic-base",
"updated": "2024-06-06T22:19:17+08:00",
"updated": "2024-07-16T17:49:57+08:00",
"citations": "<sup>[1–8]</sup>",
"bibliography": "<div class=\"csl-bib-body maxoffset-3 second-field-align-flush hangingindent-false\">\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[1]</div><div class=\"csl-right-inline\">库恩. 科学革命的结构: 第 4 版[M]. 金吾伦, 胡新和, 译. 2 版. 北京: 北京大学出版社, 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[2]</div><div class=\"csl-right-inline\">Fan X, Sommers C H. Food irradiation research and technology[M]. 2nd ed. Ames, Iowa: Blackwell Publishing, 2013: 25-26.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[3]</div><div class=\"csl-right-inline\">贾东琴, 柯平. 面向数字素养的高校图书馆数字服务体系研究[C]//中国图书馆学会. 中国图书馆学会年会论文集: 2011 年卷. 北京: 国家图书馆出版社, 2011: 45-52.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[4]</div><div class=\"csl-right-inline\">Fourney M E. Advances in holographic photoelasticity[C]//Symposium on Applications of Holography in Mechanics, August 23–25, 1971, University of Southern California, Los Angeles, California. New York: ASME, c1971: 17-38.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[5]</div><div class=\"csl-right-inline\">武丽丽, 华一新, 张亚军, 等. “北斗一号”监控管理网设计与实现[J]. 测绘科学, 2008, 33(5): 8-9.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[6]</div><div class=\"csl-right-inline\">Myburg A A, Grattapaglia D, Tuskan G A, et al. The genome of eucalyptus grandis[J]. Nature, 2014, 510: 356-362.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[7]</div><div class=\"csl-right-inline\">中国互联网络信息中心. 第 29 次中国互联网络发展现状统计报告[R]. 2012.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[8]</div><div class=\"csl-right-inline\">Bawden D. Origins and concepts of digital literacy[EB/OL]. <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>, 2008-05-04/2013-03-08.</div>\n </div>\n</div>",
"tags": [
Expand Down
8 changes: 5 additions & 3 deletions src/hunan-normal-university/hunan-normal-university.csl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>湖南师范大学研究生学位论文的撰写格式(处发〔2006〕42 号)</summary>
<updated>2024-06-06T22:19:17+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -559,7 +559,8 @@
<text macro="title-en"/>
<text macro="secondary-contributors-en"/>
</group>
<text macro="container-booklike-en"/></group>
<text macro="container-booklike-en"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down Expand Up @@ -614,7 +615,8 @@
<text macro="title-zh"/>
<text macro="secondary-contributors-zh"/>
</group>
<text macro="container-booklike-zh"/></group>
<text macro="container-booklike-zh"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
2 changes: 1 addition & 1 deletion src/hunan-normal-university/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"citation_format": "numeric",
"field": "generic-base",
"summary": "湖南师范大学研究生学位论文的撰写格式(处发〔2006〕42 号)",
"updated": "2024-06-06T22:19:17+08:00",
"updated": "2024-07-16T17:49:57+08:00",
"citations": "<sup>[1–6]</sup>",
"bibliography": "<div class=\"csl-bib-body maxoffset-3 second-field-align-flush hangingindent-false\">\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[1]</div><div class=\"csl-right-inline\">夏鲁惠. 高等学校毕业设计(论文)教学情况调研报告[J]. 高等理科教育, 2004(1): 46-48, 52.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[2]</div><div class=\"csl-right-inline\">Heider, E.R. &#38; D.C. Olivier. The structure of the color space in naming and memory for two languages [J]. <i>Cognitive Psychology</i>, 1972, 3(2): 337-354.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[3]</div><div class=\"csl-right-inline\">伍蠡甫. 西方文论选[M]. 上海: 上海译文出版社, 1979: 12-17.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[4]</div><div class=\"csl-right-inline\">张筑生. 微分半动力系统的不变集[D]. 北京: 北京大学数学系数学研究所, 1983: 1-7.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[5]</div><div class=\"csl-right-inline\">冯西桥, 何树延. 核反应堆管道和压力容器的LBB分析[R]. 北京: 清华大学核能技术设计研究院, 1998: 9-10.</div>\n </div>\n <div class=\"csl-entry\">\n <div class=\"csl-left-margin\">[6]</div><div class=\"csl-right-inline\">GB/T 16159—1996, 汉语拼音正词法基本规则[S].</div>\n </div>\n</div>",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<category field="science"/>
<issn>1007-4333</issn>
<summary/>
<updated>2024-06-06T22:19:17+08:00</updated>
<updated>2024-07-16T17:49:57+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 @@ -710,7 +710,8 @@
<text macro="title-en"/>
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="container-booklike-en"/></group>
<text macro="container-booklike-en"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down Expand Up @@ -822,7 +823,8 @@
<text macro="title-zh"/>
<text macro="secondary-contributors"/>
</group>
<text macro="container-booklike-zh"/></group>
<text macro="container-booklike-zh"/>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
Expand Down
Loading

0 comments on commit d387d9b

Please sign in to comment.