このブラケットを取り外す方法

このブラケットを取り外す方法

私は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を構築しようとすると、少し異なる結果が得られます。

Plumb, RA, 1979. 小振幅波による保存量の渦フラックス。Journal of the climate sciences [オンライン]、36(9) ()、9月1日、pp.1699–1704。https://doi.org/10.1175/1520-0469(1979)036<1699:EFOCQB>2.0.CO;2から入手可能。

空の括弧の後に「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}

Plumb, RA, 1979. 小振幅波による保存量の渦フラックス。Journal of the climate sciences [オンライン]、36(9)、9月1日、pp.1699–1704。https://doi.org/10.1175/1520-0469(1979)036<1699:EFOCQB>2.0.CO;2から入手可能。

関連情報