使用 biblatex 删除一个引用中的“et al”(以及如何处理合作)

使用 biblatex 删除一个引用中的“et al”(以及如何处理合作)

在我的工作中,我必须引用普朗克合作组织的一些论文。不幸的是,在我的 bib 文件中,它始终被列为第一作者:

author = {{Planck Collaboration} and Akrami, Y. and Arroja, F. and Ashdown, M.} %and so on

当我调用引用时,例如

\Textcite{planck2018}

我获得“普朗克合作等人(2018)”,而我希望获得“Planck Collaboration (2018)”。我只希望对某些参考文献进行这种更改,我想知道我是否可以给 Textcite(或同等软件)提供一些选项,以便不在此处放置“et al”。我只能考虑手动编写

Planck Collaboration (\cite*{planck2018})

但我知道这取决于风格,如果我必须改变风格,可能会带来一些问题

我正在使用带有 biber 后端的 biblatex。

注意:这个问题类似于从一个内联引文中删除“et al”(未回答),但使用 biblatex 和 biber,这可能会提供更多的灵活性。

答案1

如果我理解正确的话,普朗克合作组织在这里指的是论文中列出的一百多人,所以

author = {{Planck Collaboration} and Y. Akrami and ...}

严格来说并不正确。

author = {{Planck Collaboration}}

或者

author = {Y. Akrami and ...}

我明白这些解决方案都不完美:如果你只给出团体名称,那么实际上你就否认了在引用中提及这些人的名字(尽管你无论如何也不会给出所有一百多个名字,所以 120 人中只有大约 3 人会生你的气,这是一个相当不错的总体分数)。但如果你只引用这些人的名字,那么可能更广为人知的合作者的名字就不会被提及。

不幸的是,biblatexBibTeX 没有“由...组成的组”的概念——您可以列出组名,也可以单独列出每个成员。

在这种情况下,你也许可以逃脱

shortauthor = {{Planck Collaboration}}

但请注意,虽然引用看起来符合预期,但如果您使用,参考书目条目仍然会出现错误的“and”或“et al. author = {{Planck Collaboration} and Y. Akrami and ...}

author我认为,如果您能将所有个人姓名放入字段,将合作名称放入 字段,那就再理想不过了shortauthor。然后,您必须说服您的参考书目样式在参考书目中同时显示shortauthor(合作名称)和author(个人姓名)。据我所知,没有哪种样式默认这样做,但要做到biblatex这一点所需的修改并不太复杂。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=authoryear, backend=biber]{biblatex}

\makeatletter
\renewbibmacro*{author}{%
  \ifboolexpr{
    test \ifuseauthor
    and
    not test {\ifnameundef{author}}
  }
    {\usebibmacro{bbx:dashcheck}
       {\bibnamedash}
       {\usebibmacro{bbx:savehash}%
        \printnames{shortauthor}%
        \setunit{\addcomma\space}%
        \printnames{author}%
        \iffieldundef{authortype}
          {\setunit{\printdelim{nameyeardelim}}}
          {\setunit{\printdelim{authortypedelim}}}}%
     \iffieldundef{authortype}
       {}
       {\usebibmacro{authorstrg}%
        \setunit{\printdelim{nameyeardelim}}}}%
    {\global\undef\bbx@lasthash
     \usebibmacro{labeltitle}%
     \setunit*{\printdelim{nonameyeardelim}}}%
  \usebibmacro{date+extradate}}
\makeatother

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{planck18x,
  shortauthor = {{Planck Collaboration}},
  author      = {Y. Akrami and F. Arroja and M. Ashdown and J. Aumont and C. Baccigalupi and M. Ballardini and A. J. Banday and R. B. Barreiro and N. Bartolo and S. Basak and K. Benabed and J.-P. Bernard and M. Bersanelli and P. Bielewicz and J. J. Bock and J. R. Bond and J. Borrill and F. R. Bouchet and F. Boulanger and M. Bucher and C. Burigana and R. C. Butler and E. Calabrese and J.-F. Cardoso and J. Carron and A. Challinor and H. C. Chiang and L. P. L. Colombo and C. Combet and D. Contreras and B. P. Crill and F. Cuttaia and P. de Bernardis and G. de Zotti and J. Delabrouille and J.-M. Delouis and E. Di Valentino and J. M. Diego and S. Donzelli and O. Doré and M. Douspis and A. Ducout and X. Dupac and S. Dusini and G. Efstathiou and F. Elsner and T. A. Enßlin and H. K. Eriksen and Y. Fantaye and J. Fergusson and R. Fernandez-Cobos and F. Finelli and F. Forastieri and M. Frailis and E. Franceschi and A. Frolov and S. Galeotta and S. Galli and K. Ganga and C. Gauthier and R. T. Génova-Santos and M. Gerbino and T. Ghosh and J. González-Nuevo and K. M. Górski and S. Gratton and A. Gruppuso and J. E. Gudmundsson and J. Hamann and W. Handley and F. K. Hansen and D. Herranz and E. Hivon and D. C. Hooper and Z. Huang and A. H. Jaffe and W. C. Jones and E. Keihänen and R. Keskitalo and K. Kiiveri and J. Kim and T. S. Kisner and N. Krachmalnicoff and M. Kunz and H. Kurki-Suonio and G. Lagache and J.-M. Lamarre and A. Lasenby and M. Lattanzi and C. R. Lawrence and M. Le Jeune and J. Lesgourgues and F. Levrier and A. Lewis and M. Liguori and P. B. Lilje and V. Lindholm and M. Lpez-Caniego and P. M. Lubin and Y.-Z. Ma and J. F. Macías-Pérez and G. Maggio and D. Maino and N. Mandolesi and A. Mangilli and A. Marcos-Caballero and M. Maris and P. G. Martin and E. Martínez-González and S. Matarrese and N. Mauri and J. D. McEwen and P. D. Meerburg and P. R. Meinhold and A. Melchiorri and A. Mennella and M. Migliaccio and S. Mitra and M.-A. Miville-Deschênes and D. Molinari and A. Moneti and L. Montier and G. Morgante and A. Moss and M. Münchmeyer and P. Natoli and H. U. Nørgaard-Nielsen and L. Pagano and D. Paoletti and B. Partridge and G. Patanchon and H. V. Peiris and F. Perrotta and V. Pettorino and F. Piacentini and L. Polastri and G. Polenta and J.-L. Puget and J. P. Rachen and M. Reinecke and M. Remazeilles and A. Renzi and G. Rocha and C. Rosset and G. Roudier and J. A. Rubiño-Martín and B. Ruiz-Granados and L. Salvati and M. Sandri and M. Savelainen and D. Scott and E. P. S. Shellard and M. Shiraishi and C. Sirignano and G. Sirri and L. D. Spencer and R. Sunyaev and A.-S. Suur-Uski and J. A. Tauber and D. Tavagnacco and M. Tenti and L. Toffolatti and M. Tomasi and T. Trombetti and J. Valiviita and B. Van Tent and P. Vielva and F. Villa and N. Vittorio and B. D. Wandelt and I. K. Wehus and S. D. M. White and A. Zacchei and J. P. Zibin and A. Zonca},
  title       = {Planck 2018 results. X. Constraints on inflation},
  volume      = {10},
  date        = {2018-07-17},
  eprint      = {1807.06211},
  eprinttype  = {arxiv},
  eprintclass = {astro-ph.CO},
}
\end{filecontents}

\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson,planck18x}
\printbibliography
\end{document}

Planck Collaboration,Akrami,Y. 等人(2018 年 7 月 17 日)。Planck 2018 结果。X. 通货膨胀的限制。arXiv:1807.06211 [astro-ph.CO]。

相关内容