日期未显示在引用 natbib 中

Date not showing in citations natbib

我将 nat bib 用于 beamer 并且我的引文都显示为 n.d.,尽管引文在 bib 文件中有日期。

\documentclass{beamer}
\usepackage{natbib}
\bibliographystyle{agsm}
\usepackage[german]{babel}

\begin{document}
  \begin{frame}
    \frametitle{Example citation}
    This is an example text with a citation from \citep{burzio1988ItalianSyntaxGovernmentBindingApproach} (← which is without date here and in the bibliography)
  \end{frame}

  \begin{frame}
    \frametitle{Bibliography}
    \bibliography{MyLibrary}
  \end{frame}
\end{document}

这是书目文件中的引文信息(在同一个工作文件夹中):

  @article{burzio1988ItalianSyntaxGovernmentBindingApproach,
  title = {Italian {{Syntax}}: {{A Government-Binding Approach}}},
  shorttitle = {Italian {{Syntax}}},
  author = {Burzio, Luigi},
  date = {1988-03},
  journaltitle = {Language},
  shortjournal = {Language},
  volume = {64},
  number = {1},
  eprint = {414791},
  eprinttype = {jstor},
  pages = {130},
  issn = {00978507},
  doi = {10.2307/414791}
}

natbib 上的所有引文样式都会出现这种情况。我不知道发生了什么。我会很感激你的帮助。

对于 bibtex,使用旧的 yearmonth 字段而不是 date:

\documentclass{beamer}
\usepackage{natbib}
\bibliographystyle{agsm}
\usepackage[german]{babel}

\begin{filecontents*}[overwrite]{\jobname.bib}
  @article{burzio1988ItalianSyntaxGovernmentBindingApproach,
  title = {Italian {{Syntax}}: {{A Government-Binding Approach}}},
  shorttitle = {Italian {{Syntax}}},
  author = {Burzio, Luigi},
  year = 1988,
  month = 3,
  journaltitle = {Language},
  shortjournal = {Language},
  volume = {64},
  number = {1},
  eprint = {414791},
  eprinttype = {jstor},
  pages = {130},
  issn = {00978507},
  doi = {10.2307/414791}
}
\end{filecontents*}

\begin{document}
  \begin{frame}
    \frametitle{Example citation}
    This is an example text with a citation from \citep{burzio1988ItalianSyntaxGovernmentBindingApproach} (← which is without date here and in the bibliography)
  \end{frame}

  \begin{frame}
    \frametitle{Bibliography}
    \bibliography{\jobname}
  \end{frame}
\end{document}

如果您更喜欢使用 date 字段,请从 bibtex 切换到 biblatex。 Biblatex 不仅支持高级 date 字段,而且更加灵活且更易于定制。