biblatex 和参考文献:未发表的 eprint 格式

biblatex 和参考文献:未发表的 eprint 格式

biblatex 未发布样式不提供 eprint 和 eprinttype 字段。您知道如何添加它们吗(如果可能)。

答案1

我不确定这是否是一个好主意(包含电子印刷信息的作品可能被视为“已发布”),但以下是操作方法:在 @unpublished 的参考书目驱动程序中,bibmacro需要被 bibmacro (也包括)url+urdate替换。doi+eprint+urlurl+urldate

\documentclass{article}

\usepackage{biblatex}

\DeclareBibliographyDriver{unpublished}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author}%
  \setunit{\labelnamepunct}\newblock
  \usebibmacro{title}%
  \newunit
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \printfield{howpublished}%
  \newunit\newblock
  \printfield{note}%
  \newunit\newblock
  \usebibmacro{location+date}%
%  \newunit\newblock% DELETED
%  \iftoggle{bbx:url}% DELETED
%    {\usebibmacro{url+urldate}}% DELETED
%    {}% DELETED
  \newunit\newblock% NEW
  \usebibmacro{doi+eprint+url}% NEW
  \newunit\newblock
  \usebibmacro{addendum+pubstate}%
  \setunit{\bibpagerefpunct}\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@unpublished{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  eprint = {(eprint_information)},
}
\end{filecontents}

\bibliography{\jobname}

\begin{document}

\nocite{*}

\printbibliography

\end{document}

相关内容