与此处其他用户尝试的内容类似,我正在尝试调整CSL样式文件以指定引用(科学,技术)报告的报告编号。 我试图修改的风格(也许建议根据期刊的手稿准备指南进行更新)是科学期刊“医学与生物学物理学”(物理学研究所)所使用的,基于哈佛大学样式: http://www.zotero.org/styles/physics-in-medicine-and-biology
使用在线代码编辑器http://editor.citationstyles.org/codeEditor/我偷看了一个CSL文件,该文件格式化了参考书目 - 报告编号,例如vancouver-author-date.csl样式。
看来所涉及的宏是report-details
所以我相应地尝试了对物理医学和生物学样式文件的这个小的补充,我暂时将其重命名(并将其id改为)物理-in-药剂和生物学与 - 报告。
[...]
</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 外照射放射治疗中的吸收剂量测定,基于吸收标准的国际剂量测定规范Dose to Water 报告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。