Biblatex 使用 Techreport 中的 Volumes 字段

Biblatex 使用 Techreport 中的 Volumes 字段

有人知道该@techreport类型是否会选取volumesBiblatex 中的字段,以便可以指示技术报告的卷数吗?

答案1

您可以更改书目样式。因为verbose-trad2它主要由 定义standard.bbx。下面的代码将以与 一致的方式合并、和volumes字段volumemaintitle请注意只是的别名。part@report@book@techreport@reporttype = {techreport}

\documentclass{article}
\usepackage[style=verbose-trad2]{biblatex}
\usepackage{filecontents}

\DeclareBibliographyDriver{report}{% based on report and book drivers from standard.bbx
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author}%
  \setunit{\labelnamepunct}\newblock
  \usebibmacro{maintitle+title}
  \newunit
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \iffieldundef{maintitle}
    {\printfield{volume}%
     \printfield{part}}
    {}%
  \newunit
  \printfield{volumes}%
  \newunit\newblock
  \printfield{type}%
  \setunit*{\addspace}%
  \printfield{number}%
  \newunit\newblock
  \printfield{version}%
  \newunit
  \printfield{note}%
  \newunit\newblock
  \usebibmacro{institution+location+date}%
  \newunit\newblock
  \usebibmacro{chapter+pages}%
  \newunit
  \printfield{pagetotal}%
  \newunit\newblock
  \iftoggle{bbx:isbn}
    {\printfield{isrn}}
    {}%
  \newunit\newblock
  \usebibmacro{doi+eprint+url}%
  \newunit\newblock
  \usebibmacro{addendum+pubstate}%
  \setunit{\bibpagerefpunct}\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}}

\begin{filecontents}{\jobname.bib}
@Techreport{padhye,
  author      = {Padhye, Jitendra and Firoiu, Victor and Towsley, Don},
  maintitle       = {A Stochastic Model of TCP Reno Congestion Avoidance and Control},
  institution     = {University of Massachusetts},
  number      = {99-02},
  location  = {Amherst, Mass.},
  date        = {1999}}
@Techreport{padhye:mv,
  author      = {Padhye, Jitendra and Firoiu, Victor and Towsley, Don},
  maintitle       = {A Stochastic Model of TCP Reno Congestion Avoidance and Control},
  institution     = {University of Massachusetts},
  volumes       = {2},
  number      = {99-02},
  location  = {Amherst, Mass.},
  date        = {1999}}
@Book{knuth:ct,
  author      = {Knuth, Donald E.},
  title       = {Computers \& Typesetting},
  volumes     = {5},
  publisher   = {Addison-Wesley},
  location    = {Reading, Mass.},
  date        = {1984/1986}}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
\noindent
Technical report: \cite{padhye} \\
\\
Multi-volume technical report: \cite{padhye:mv} \\
\\
Multi-volume book: \cite{knuth:ct}
\printbibliography
\end{document}

在此处输入图片描述

相关内容