Zotero基于GB/T 7714-2015(author-date,中文)“等”字及引用大写的解决办法(附CSL修改代码)

本文详细介绍了如何修改Zotero的CSL代码,以解决GB/T 7714-2015(author-date,中文)样式中“等”字及引用大写的问题。步骤包括进入样式编辑器,更改locale设置,删除不需要的大写字母,并保存修改后的格式到Zotero的styles文件夹,最后替换原有文件。" 135976710,22092369,理解react-scripts的构建流程,"['react.js', '前端框架', 'javascript', 'ecmascript']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、先任意选中一个文献(方便之后看引用效果),点击“引用-首选项-样式编辑器”,如果没出现代码修改界面,点击中间的省略号的符号,就能出现。

 

二、修改CSL代码,只需要2点:

1.把cn那里换成en-US; 

2.    name里面引号后那一串要大写的删掉    <name-part name="family" />
        <name-part name="given"/>

3.将格式另存为其他文件夹,再找到zotero文件夹,找到styles对之前的文件进行替换。

重新打开软件后得到格式如下:

修改后文件如下:

<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" delimiter-precedes-last="always" demote-non-dropping-particle="never" name-delimiter=", " initialize-with=" " names-delimiter=". " name-as-sort-order="all" sort-separator=" " default-locale="en-US">
  <info>
    <title>China National Standard GB/T 7714-2015 (author-date, 中文)</title>
    <title-short>GB/T 7714-2015 (author-date)</title-short>
    <id>http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-author-date</id>
    <link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-author-date" rel="self"/>
    <link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="template"/>
    <link href="http://www.std.gov.cn/gb/search/gbDetailed?id=71F772D8055ED3A7E05397BE0A0AB82A" rel="documentation"/>
    <author>
      <name>牛耕田</name>
      <email>buffalo_d@163.com</email>
    </author>
    <category citation-format="author-date"/>
    <category field="generic-base"/>
    <summary>The Chinese GB/T7714-2015 author-date style</summary>
    <updated>2021-02-15T03:41:57+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 xml:lang="zh-CN">
    <terms>
      <term name="anonymous">佚名</term>
      <term name="edition">版</term>
      <term name="page" form="short">
        <single>p.</single>
       

请你在以下zotero代码基础上,进行修改,我要求的参考文献格式是:<?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-GB"> <info> <title>Nano-Micro Letters</title> <id>http://www.zotero.org/styles/nano-micro-letters</id> <link href="http://www.zotero.org/styles/nano-micro-letters" rel="self"/> <author> <name>Modified for Nano-Micro Letters</name> </author> <category citation-format="numeric"/> <category field="science"/> <category field="generic-base"/> <updated>2025-03-17T00:00:00+00:00</updated> </info> <macro name="title"> <text variable="title" text-case="sentence"/> </macro> <macro name="author"> <names variable="author"> <name form="long" and="symbol" delimiter=", " initialize-with=". " name-as-sort-order="all"/> <label form="short" prefix=", "/> <et-al/> </names> </macro> <macro name="container-title"> <text variable="container-title"/> </macro> <macro name="issuance"> <group delimiter="; "> <date variable="issued"> <date-part name="year"/> </date> <group delimiter=":"> <text variable="volume"/> <text variable="issue" prefix="(" suffix=")"/> </group> <text variable="page"/> </group> </macro> <macro name="access"> <choose> <if variable="DOI"> <text variable="DOI" prefix="https://doi.org/"/> </if> </choose> </macro> <citation collapse="citation-number"> <sort> <key variable="citation-number"/> </sort> <layout vertical-align="sup" delimiter=","> <text variable="citation-number"/> </layout> </citation> <bibliography et-al-min="6" et-al-use-first="1" second-field-align="flush" entry-spacing="0" line-spacing="2"> <layout suffix="."> <text variable="citation-number" suffix="."/> <group delimiter=" "> <text macro="author" suf
03-18
请你基于以下zotero代码修改成我需要的样子:<?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-GB”> <info> <title>Nano-Micro Letters</title> <id>http://www.zotero.org/styles/nano-micro-letters</id> <link href=“http://www.zotero.org/styles/nano-micro-letters” rel=“self”/> <author> <name>Modified for Nano-Micro Letters</name> </author> <category citation-format=“numeric”/> <category field=“science”/> <category field=“generic-base”/> <updated>2025-03-17T00:00:00+00:00</updated> </info> 请根据以下 zotero代码修改成我需要的样子: <macro name=“title”> <text variable=“title” text-case=“sentence”/> </macro> 宏名称="标题" <macro name=“author”> <names variable=“author”> <name form=“long” and=“symbol” delimiter=“, " initialize-with=”. " name-as-sort-order=“all”/> <label form=“short” prefix=", "/> <et-al/> </names> </macro> <宏名称="作者"> <名称形式=“长”和=“符号”分隔符=“, ”初始化为=“. ”名称作为排序顺序=“全部”/> <macro name=“container-title”> <text variable=“container-title”/> </macro> 宏名称="container-title" <macro name=“issuance”> <group delimiter=“; “> <date variable=“issued”> <date-part name=“year”/> </date> <group delimiter=”:”> <text variable=“volume”/> <text variable=“issue” prefix=“(” suffix=“)”/> </group> <text variable=“page”/> </group> </macro> 宏名称="发行" <分组分隔符=“; “> <日期变量=“发行”> <日期部分名称=“年份”/> <分组分隔符=":"> <macro name=“access”> <choose> <if variable=“DOI”> <text variable=“DOI” prefix=“https://doi.org/”/> </if> </choose> </macro> 宏名称="access" <选择> 如果变量="DOI"> <citation collapse=“citation-number”> <sort> <key variable=“citation-number”/> </sort> <layout vertical-align=“sup” delimiter=“,”> <text variable=“citation-number”/> </layout> </citation> <参考文献折叠=“引用编号”> <排序> <布局 垂直对齐=“sup” 分隔符=“,”> <bibliography et-al-min=“6” et-al-use-first=“1” second-field-align=“flush” entry-spacing=“0” line-spacing=“2”> <layout suffix=“.”> <text variable=“citation-number” suffix=“.”/> <group delimiter=" “> <text macro=“author” suffix=”.“/> <text macro=“title” suffix=”.“/> <text macro=“container-title” suffix=”.“/> <text macro=“issuance” suffix=”."/> <text macro=“access”/> </group> </layout> </bibliography> </style> 。我需要zotero将参考文献格式默认改成:L. Cao, Q. Liu, J. Ren, W. Chen, Y. Pei et al., Electro-blown spun silk/graphene nanoionotronic skin for multifunctional fire protection and alarm. Adv. Mater. 33, 2102500 (2021). https://doi.org/10.1038/ncomms3838。其中卷号33是加粗的,其余没有任何斜体等文格式要求。
03-18
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值