首次引用时禁用简写

首次引用时禁用简写

使用authoryear样式,主要是在文档中\footcite使用带biblatex/ 的命令biber,我需要条目的第一个引用显示条目的长标题,而不是其简写,以及从第二个引用开始的简写。MWE 从第一个引用开始生成条目的简写。

我知道该authoryear样式仅显示作品的作者和年份,但是我如何才能让第一个引用显示标题或完整信息?

\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\usepackage[autostyle]{csquotes}
\begin{filecontents*}{./bibliography.bib}
@book{hfa,
    title = {History of the anatidae},
    shorthand = {HFA},
    author = {Duck, Donald},
    date = {2007},
    location = {Ducksborough},
    publisher = {Waterfowl Press}
}
\end{filecontents*}
\addbibresource{./bibliography.bib}

\begin{document}
This essay discusses the \enquote{History of the anatidae} by Donald Duck.%
\footcite[][henceforth called HFA]{hfa}
Now, as mentioned in that work, \LaTeXe is frequently used to depict animals at the University of Ducksborough.%
\footcite[][12]{hfa}
\printbibliography
\end{document}

第一个引用已经只显示了简写条目。

答案1

将评论变成完整的答案。根据手册,\footfullcite将“整个引文放在脚注中,并在末尾添加一个句号。”(参见 biblatex 手册第 113 页)

\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\usepackage[autostyle]{csquotes}

\begin{filecontents*}{./bibliography.bib}
    @book{hfa,
        title = {History of the anatidae},
        shorthand = {HFA},
        author = {Duck, Donald},
        date = {2007},
        location = {Ducksborough},
        publisher = {Waterfowl Press}
    }
\end{filecontents*}
\addbibresource{./bibliography.bib}

\begin{document}
    This essay discusses the \enquote{History of the anatidae} by Donald Duck.%
    \footfullcite[][henceforth called HFA]{hfa}
    Now, as mentioned in that work, \LaTeXe is frequently used to depict animals at the University of Ducksborough.%
    \footcite[][12]{hfa}
    \printbibliography
\end{document}

输出(仅脚注): 输出的脚注部分

答案2

如果您更改相关的 bibmacros,则不必使用其他命令,甚至不必自己编写“henecforth references as ...”,biblatex可以自动完成。

shorthand为了保持一致性,我认为对不带注释的作品进行完整的首次引用也是有意义的。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, style=authoryear, autocite=footnote, citetracker]{biblatex}

\renewbibmacro*{shorthandintro}{%
  \iffieldundef{shorthandintro}
    {\iffieldundef{shorthand}
       {}
       {\setunit{\addcomma\space}%
        \printtext{%
          \bibstring{citedas}\space
          \printfield{shorthand}}}}
    {\setunit{\addcomma\space}%
     \printfield{shorthandintro}}}

\newbibmacro*{cite:full}{%
  \printtext[bibhypertarget]{%
    \usedriver
      {\DeclareNameAlias{sortname}{default}}
      {\thefield{entrytype}}}%
  \usebibmacro{shorthandintro}}

\renewbibmacro*{cite}{%
  \ifciteseen
    {\iffieldundef{shorthand}
       {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
          {\usebibmacro{cite:label}%
           \setunit{\printdelim{nonameyeardelim}}}
          {\printnames{labelname}%
           \setunit{\printdelim{nameyeardelim}}}%
        \usebibmacro{cite:labeldate+extradate}}
       {\usebibmacro{cite:shorthand}}}%
    {\usebibmacro{cite:full}}}

\begin{filecontents*}{\jobname.bib}
@book{hfa,
  title     = {History of the anatidae},
  shorthand = {HFA},
  author    = {Duck, Donald},
  date      = {2007},
  location  = {Ducksborough},
  publisher = {Waterfowl Press}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
This essay discusses the \enquote{History of the anatidae} by Donald Duck.%
\autocite{hfa}
Now, as mentioned in that work, \LaTeXe is frequently used to depict
animals at the University of Ducksborough.%
\autocite[12]{hfa}
Lorem\autocite{sigfridsson} ipsum\autocite{sigfridsson}
\printbibliography
\end{document}

1 唐老鸭 (2007)。鸭科动物的历史。达克斯伯勒:Waterfowl Press,此后引用为 HFA。2 HFA,第 12 页。3 Emma Sigfridsson 和 Ulf Ryde (1998)。“从静电势和力矩推导原子电荷的方法比较”。在:《计算化学杂志》19.4,第 377-395 页。doi:10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P。4 Sigfridsson 和 Ryde 1998。


如果您也喜欢作者-标题简短引用,您可以使用预建verbose样式。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, style=verbose]{biblatex}


\begin{filecontents*}{\jobname.bib}
@book{hfa,
  title     = {History of the anatidae},
  shorthand = {HFA},
  author    = {Duck, Donald},
  date      = {2007},
  location  = {Ducksborough},
  publisher = {Waterfowl Press}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
This essay discusses the \enquote{History of the anatidae} by Donald Duck.%
\autocite{hfa}
Now, as mentioned in that work, \LaTeXe is frequently used to depict
animals at the University of Ducksborough.%
\autocite[12]{hfa}
Lorem\autocite{sigfridsson} ipsum\autocite{sigfridsson}
\printbibliography
\end{document}

1 唐老鸭。鸭科动物的历史。达克斯伯勒:Waterfowl Press,2007 年(以下简称 HFA)。2 HFA,第 12 页。3 Emma Sigfridsson 和 Ulf Ryde。《比较从静电势和电势矩导出原子电荷的方法》。《计算化学杂志》19.4(1998 年),第 377-395 页。doi:10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P。4 Sigfridsson 和 Ryde,“比较从静电势和电势矩导出原子电荷的方法”。

相关内容