Biblatex:更改记录/收藏中的字段(注释+页面)的顺序

Biblatex:更改记录/收藏中的字段(注释+页面)的顺序

我正在使用以下内容来更改@article的注释和页面字段的顺序。

\renewbibmacro{note+pages}{%
  \printfield{pages}%
  \setunit*{\space}%
  \printfield{note}%
  \setunit*{\addcomma\space}%
  \newunit
}

我很难找到 @inproceedings 的类似内容。我猜 note+pages 宏没有在那里使用。我如何才能找出使用了哪个宏?

答案1

根据 moewe 的建议,我使用xpatch's\xpatchbibdriver删除\printfield{note},然后将其添加到 之前\usebibmacro{doi+eprint+url}

\begin{filecontents}{\jobname.bib}
@inproceedings{moraux,
  author       = {Moraux, Paul},
  editor       = {Lloyd, G. E. R. and Owen, G. E. L.},
  title        = {Le \emph{De Anima} dans la tradition gr{\`e}cque},
  date         = 1979,
  booktitle    = {Aristotle on Mind and the Senses},
  subtitle     = {Quelques aspects de l'interpretation du trait{\'e}, de
                  Theophraste {\`a} Themistius},
  booktitleaddon= {Proceedings of the Seventh Symposium Aristotelicum},
  eventdate    = 1975,
  publisher    = cup,
  location     = {Cambridge},
  pages        = {281-324},
  keywords     = {secondary},
  langid       = {french},
  indexsorttitle= {De Anima dans la tradition grecque},
  indextitle   = {\emph{De Anima} dans la tradition gr{\`e}cque, Le},
  shorttitle   = {\emph{De Anima} dans la tradition gr{\`e}cque},
  annotation   = {This is a typical \texttt{inproceedings} entry. Note the
                  \texttt{booksubtitle}, \texttt{shorttitle},
                  \texttt{indextitle}, and \texttt{indexsorttitle} fields. Also
                  note the \texttt{eventdate} field.},
  note = {This is a note},
  url = {https://fake.url}
}

@inproceedings{salam,
  author       = {Salam, Abdus},
  editor       = {Svartholm, Nils},
  title        = {Weak and Electromagnetic Interactions},
  date         = 1968,
  booktitle    = {Elementary particle theory},
  booksubtitle = {Relativistic groups and analyticity},
  booktitleaddon= {Proceedings of the {Eighth Nobel Symposium}},
  eventdate    = {1968-05-19/1968-05-25},
  venue        = {Aspen{\"a}sgarden, Lerum},
  publisher    = {Almquist \& Wiksell},
  location     = {Stockholm},
  pages        = {367-377},
  note = {This is a note},
}
\end{filecontents}
\documentclass{article}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\usepackage{xpatch}
\xpatchbibdriver{inproceedings}{\printfield{note}}{}{}{}
\xpatchbibdriver{inproceedings}{\usebibmacro{doi+eprint+url}}{\printfield{note}\newunit\newblock\usebibmacro{doi+eprint+url}}{}{}
\begin{document}
\cites{moraux,salam}
\printbibliography
\end{document}

姆韦

相关内容