我使用 bibtex 引用我的论文和 ISO 690 引用格式。但是,参考书目中没有显示卷数。有人能帮助我吗?
这是我的代码:
\documentclass[a4paper,12pt,twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=iso-numeric]{biblatex}
\addbibresource{references.bib}
和引文输入
@book{reynolds1,
title={Earthship: How to build your own},
volume ={1},
author={Michael E. Reynolds},
ISBN={9780962676703},
location ={Taos},
year={1990},
publisher={Solar Survival Press},
}
答案1
iso.bbx
条目类型中不包含体积book
。我不确定这是否是故意的。但是,您可以复制 的定义book
并从其他样式(例如从默认 )添加体积部分standard.bbx
。默认文件具有以下体积代码:
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
这意味着如果没有,则会打印卷数和零件编号maintitle
。
在下面的 MWE 中,我在从 复制的定义中的edition
和(编辑和翻译) 之间添加了此部分。我不知道这是否符合 ISO 690,但它确实打印了音量。names:subsidiary
iso.bbx
梅威瑟:
\documentclass[a4paper,12pt,twoside]{article}
\usepackage[left=1cm,right=1cm]{geometry}
\usepackage[style=iso-numeric]{biblatex}
\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{names:primary}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{multi:titles}%
\setunit{\addspace}%
\usebibmacro{medium-type}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit\newblock
\usebibmacro{names:subsidiary}%
\newunit\newblock
\usebibmacro{location+publisher+date}%
\newunit
\printfield{version}%
\setunit{\addspace}%
\usebibmacro{urldate}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\usebibmacro{identifier}%
\newunit\newblock
\usebibmacro{availability+access}%
\newunit\newblock
\usebibmacro{location}%
\setunit{\addspace}%
\iftoggle{bbx:totalpages}
{\printfield{pagetotal}}
{}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
\addbibresource{references.bib}
\begin{document}
\cite{reynolds1} is a volume from a book series.
\printbibliography
\end{document}
结果: