0

与此处其他用户的尝试类似,我正在尝试调整 CSL 样式文件以指定引用(科学、技术)报告的报告编号。我试图修改的风格(也许建议根据期刊的稿件准备指南进行更新)是科学期刊医学和生物学物理(物理研究所)中使用的风格,并且基于哈佛风格: http: //www.zotero.org/styles/physics-in-medicine-and-biology

使用在线代码编辑器http://editor.citationstyles.org/codeEditor/我已经查看了一个 CSL 文件,该文件在参考书目中格式化报告编号,例如 vancouver-author-date.csl 样式。

看来所涉及的宏是report-details所以我相应地尝试了对物理医学和生物学样式文件的这个小补充,我暂时将其重命名(并更改了它的 ID)为物理医学和生物学- 与报告。

[...]
</info>
  <bibliography>
      <layout>
      <macro name="report-details">
          <choose>
            <if type="report techreport" match="any">
              <text variable="number" prefix="Report " font-style="roman"/>
            </if>
          </choose>
        </macro>
    </layout>
    </bibliography>
</style>

在导入 Papers for Mac (v3.4.1) 并选择此自定义引用样式后,格式化结果仍然是(对于未更改的物理医学和生物学样式):

Andreo P、Burns DT、Hohlfeld K、Huq M、Kanai T、Laitano RF、Smyth V 和 Vynckier S 2000外照射放射治疗中的吸收剂量测定,基于水吸收剂量标准的国际剂量测定规范(维也纳:国际原子能机构)

与想要的相反

Andreo P、Burns DT、Hohlfeld K、Huq M、Kanai T、Laitano RF、Smyth V 和 Vynckier S 2000外照射放射治疗中的吸收剂量测定,基于水吸收剂量标准的剂量测定国际规范报告 398(维也纳:国际原子能机构)

我错过了什么?就像反检查一样,这里是导出为 BibTeX 记录的记录,显示非空number字段:

@techreport{Andreo:2000vw,
author = {Andreo, Pedro and Burns, David T and Hohlfeld, K and Huq, MS and     Kanai, T and Laitano, Raffaele Fedele and Smyth, Vere and Vynckier, S},
title = {{\emph{Absorbed Dose Determination in External Beam Radiotherapy, An International Code of Practice for Dosimetry Based on Standards of Absorbed Dose to Water}}},
institution = {International Atomic Energy Agency},
year = {2000},
number = {398},
address = {Vienna}
}

感谢您的任何提示,Massimo P。

4

0 回答 0