Zotero使用GB/T7714 2005模板插入参考文献出现 作者名全部大写问题、et al.变成汉字‘等‘、多出参考文章的doi 问题 的解决方案

Zotero使用GB/T7714 2005模板插入参考文献出现 作者名全部大写问题、et al.变成汉字‘等’、多出参考文章的doi 问题 的解决方案

问题描述

zotero‘获取更多样式’中的模板会有下图所示框处的三个问题
在这里插入图片描述

解决方案

GB/T7714 2005使用这个命名为chinese-gb7714-2005-numeric.csl模板文件。下面详细展示设置过程。

<?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-US">
  <info>
    <title>Chinese Std GB/T 7714-2005 (numeric, Chinese)</title>
    <id>http://www.zotero.org/styles/chinese-gb7714-2005-numeric</id>
    <link href="http://www.zotero.org/styles/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>zxpmyth@yahoo.com.cn</email>
    </author>
    <category citation-format="numeric"/>
    <category field="engineering"/>
    <category field="generic-base"/>
    <category field="science"/>
    <summary>This style just partly implemented what the Chinese GB/T 7714-2005 requires.</summary>
    <updated>2018-02-18T21:20:55+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>
  <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" />
      </name>
    </names>
  </macro>
  <macro name="recipient">
    <names variable="recipient">
      <name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", " text-case="lowercase"/>
    </names>
  </macro>
  <macro name="interviewer">
    <names variable="interviewer">
      <name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", " text-case="lowercase"/>
    </names>
  </macro>
  <macro name="composer">
    <names variable="composer">
      <name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", " text-case="lowercase"/>
    </names>
  </macro>
  <macro name="original-author">
    <names variable="original-author">
      <name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always"/>
      <label form="short" prefix=", " text-case="lowercase"/>
    </names>
  </macro>
  <macro name="title">
    <text variable="title"/>
  </macro>
  <macro name="titleField">
    <choose>
      <if type="report">
        <text macro="title" suffix="[R]. "/>
      </if>
      <else-if type="thesis">
        <text macro="title" suffix="[D]. "/>
      </else-if>
      <else-if type="bill legislation" match="any">
        <text variable="number" suffix=", "/>
        <text macro="title" suffix="[S]"/>
      </else-if>
      <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text macro="title" suffix="[M]. "/>
      </else-if>
      <else-if type="paper-conference">
        <text macro="title" suffix="[C]//"/>
      </else-if>
      <else-if type="chapter paper-conference" match="any">
        <text macro="title" suffix="[G]//"/>
      </else-if>
      <else-if type="webpage">
        <text macro="title" suffix="[EB/OL]. "/>
      </else-if>
      <else-if type="patent">
        <text macro="title"/>
        <text variable="number" prefix=": 中国, " suffix="[P].  "/>
      </else-if>
      <else>
        <text macro="title" suffix="[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"/>
      </name>
    </names>
    <names variable="translator">
      <name name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="always" suffix=", 译"/>
    </names>
  </macro>
  <macro name="publisher">
    <choose>
      <if type="chapter paper-conference" match="any">
        <text variable="container-title" suffix=". "/>
      </if>
      <else-if type="report">
        <text variable="collection-title" suffix=", "/>
        <text variable="number" suffix=", "/>
      </else-if>
      <else-if type="bill legislation" match="any">
        <text variable="container-title" prefix=". "/>
      </else-if>
      <else>
        <text variable="container-title" suffix=", "/>
      </else>
    </choose>
    <!--
 
<text variable="event" suffix="event "/>
<text variable="event-place" suffix="event-place "/>
<text variable="original-title" suffix="original-title"/>
 
 -->
    <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>
    <text variable="volume" prefix=", "/>
    <text variable="issue" prefix="(" suffix=")"/>
  </macro>
  <macro name="pageField">
    <text 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>
  <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="4" et-al-use-first="3" second-field-align="flush" entry-spacing="0">
    <layout suffix=".">
      <text variable="citation-number" prefix="[" suffix="]"/>
      <text macro="author" suffix=". "/>
      <text macro="titleField"/>
      <text macro="secondaryAuthor" suffix=". "/>
      <text variable="edition" prefix="第" suffix="版. "/>
      <text macro="publisher"/>
      <text macro="pageField" prefix=": "/>
      <text macro="referenceDate"/>
      <choose>
        <if type="webpage" match="any">
          <text macro="access" prefix=". "/>
        </if>
      </choose>
      <text macro="recipient"/>
      <text macro="interviewer"/>
      <text macro="composer"/>
      <text macro="original-author"/>
    </layout>
  </bibliography>
</style>

操作步骤

  1. zotero 首选项
    在这里插入图片描述
  2. 引用
    在这里插入图片描述
    在这里插入图片描述
  3. 找到并双击选择你保存上述的chinese-gb7714-2005-numeric.csl模板文件
    在这里插入图片描述
  4. 搞定
    在这里插入图片描述
  5. 看一下word里面的效果
    在这里插入图片描述

GB/T7714 2015 的类似问题

我没被要求用2015,所以有类似问题可以参考这个文章:
https://zhuanlan.zhihu.com/p/581479488

<think>好的,我现在需要解决用户关于Zotero引用文献时作者全部变为大写问题。首先,我要回想一下自己之前处理类似问题经验,或者查阅相关的资料。记得用户提到的引用[3]中提到了使用GB/T7714 2005模板时出现的作者大写问题,这可能是一个线索。 首先,用户的问题具体是使用某个引文样式时作者变成了全大写,而正常情况下应该是首字母大写。这可能是因为引文样式(CSL)的设置问题Zotero的引文样式控制着参考文献的显示格式,包括作者的处理方式。所以,需要检查或修改所使用的CSL文件。 接下来,按照用户提供的引用[3],解决方案可能涉及到编辑CSL文件。例如,在GB/T7714 2005模板中,可能存在将作者全部大写的设置。因此,用户需要找到并修改这个CSL文件中的相关部分。 步骤可能包括: 1.Zotero中找到当前使用的引文样式,确认是否是GB/T7714或者其他可能导致大写的样式。 2. 下载并编辑该CSL文件,将作者格式从小写改为仅首字母大写。 3. 替换或更新Zotero中的样式,并重新生成参考文献。 此外,用户可能没有注意到样式的选择是否正确,比如是否误用了全大写的样式。因此,建议用户检查样式管理器,确认是否选择了正确的版本。例如,GB/T7714可能有不同的变体,有些可能默认全大写,而有些则不是。 另外,引用[3]还提到et al.变成汉字“等”的问题,这说明用户可能在使用中文格式的引文样式,这也可能影响作者的显示方式。因此,可能需要同时调整多个设置,或者选择另一个更适合的样式版本,比如GB/T7714 2015,可能已经修复了这个问题。 如果用户对编辑CSL文件感到困难,可能需要指导他们如何通过Zotero的样式编辑器进行调整,或者寻找已经修改好的CSL文件进行替换。同时,提醒用户在修改前备份原有的CSL文件,以免出现错误。 最后,需要验证解决方案是否有效。例如,修改后重新插入引文,检查作者是否恢复正常。如果问题依旧,可能需要进一步检查是否有其他设置冲突,或者考虑更新Zotero和相关插件到最新版本,确保兼容性。</think>### 解决Zotero引用文献时作者全部大写的方案 #### 问题原因 Zotero引用文献时作者大写通常是由引文样式(CSL文件)的格式设置导致的。例如,使用某些GB/T7714模板时,默认会将作者转为全大写[^3]。 --- #### 解决方法 1. **检查并更换引文样式** - 打开Zotero,点击菜单栏的`编辑` → `首选项` → `引用` → `样式`。 - 在样式管理器中搜索并确认当前使用模板是否为`China National Standard GB/T 7714-2005`或其他可能导致大写的样式。 - **推荐操作**:改用`GB/T 7714-2015`或自定义修改后的样式(部分用户修复了此问题)。 2. **手动修改CSL文件** - 下载当前使用的CSL文件(如GB/T7714-2005),用文本编辑器打开。 - 搜索`<names>`标签,找到以下字段: ```xml <name form="long" name-as-sort-order="all" sort-separator=", " initialize-with="" delimiter-precedes-last="never"/> ``` - 将`name-as-sort-order="all"`改为`name-as-sort-order="first"`,并添加`initialize-with="."`以保留首字母大写。 - 保存文件后,通过Zotero的样式管理器导入修改后的CSL文件。 3. **使用第三方修复模板** - 部分开发者已发布修复大写问题的CSL文件,例如: - 访问[Zotero Style Repository](https://www.zotero.org/styles),搜索`GB/T 7714`,选择标注“fixed”或“lowercase”的版本。 - 下载后导入Zotero并设置为默认样式。 --- #### 验证结果 修改后,在Word或LibreOffice中点击`更新引文`,观察作者是否恢复为首字母大写(如“ZHANG San” → “Zhang San”)。若仍存在问题,尝试清除缓存(`文档属性` → `Zotero` → `移除代码`后重新插入)[^3]。 ---
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值