
私はbiblatex bathを使用していますが、参照に余分な括弧があります。いくつかの方法を試しましたが、うまくいきません。
\usepackage[style=bath,backend=biber,sorting=ynt]{biblatex}
\assignrefcontextentries[]{*}
@article{plumbEddyFluxesConserved1979,
title = {Eddy {{Fluxes}} of {{Conserved Quantities}} by {{Small}}-{{Amplitude Waves}}},
author = {Plumb, R. A.},
date = {1979-09-01},
journaltitle = {Journal of the Atmospheric Sciences},
shortjournal = {J. Atmos. Sci.},
volume = {36},
pages = {1699-1704},
publisher = {{American Meteorological Society}},
issn = {0022-4928},
doi = {10.1175/1520-0469(1979)036<1699:EFOCQB>2.0.CO;2},
langid = {english},
number = {9}
}
答え1
これは小さな見落としのようですので、biblatex-bath
開発者に報告する必要があります(例:https://github.com/alex-ball/bathbib/issues)。 (編集報告されたhttps://github.com/alex-ball/bathbib/issues/9。
あなたのエントリーからMWEを構築しようとすると、少し異なる結果が得られます。
空の括弧の後に「9月1日」があります。
スタイルのメンテナーによる修正を待つ間、この空のペアを回避する一時的な方法を以下に示します。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=bath,backend=biber,sorting=ynt]{biblatex}
\assignrefcontextentries[]{*}
\renewbibmacro*{issue+date}{%
\ifboolexpr{
test {\iffieldundef{issue}}
and
test {\iffieldundef{month}}
}{}{%
\ifboolexpr{(
test {\iffieldundef{volume}}
and
test {\iffieldundef{number}}
) and
test {\iffieldundef{eid}}
}{%
\newunit
\printfield{issue}%
}{%
\printfield[parens]{issue}%
}
\setunit{\addcomma\space}%
\printdate
}%
\newunit
}%
\begin{filecontents}{\jobname.bib}
@article{plumb,
title = {Eddy Fluxes of Conserved Quantities by Small-Amplitude Waves},
author = {Plumb, R. A.},
date = {1979-09-01},
journaltitle = {Journal of the Atmospheric Sciences},
volume = {36},
number = {9},
pages = {1699-1704},
doi = {10.1175/1520-0469(1979)036<1699:EFOCQB>2.0.CO;2},
langid = {english},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson,plumb}
\printbibliography
\end{document}