\bibentry 生成芝加哥风格的错误

\bibentry 生成芝加哥风格的错误

我正在尝试使用\bibentry(与 natbib)让完整的参考出现在文本中,基于示例这里(以及其他人)。但是,这会产生错误Paragraph ended before \citeauthoryear was complete.<to be read again>\par

我的完整文档中没有任何\citeauthoryear样式引用。我尝试删除软件包并将 memoir 更改为 book,认为这是不兼容问题。我还尝试了建议这里以避免错误\renewcommand{\citeauthoryear}{}

此文档会产生错误:

\documentclass[12pt,a4paper]{memoir}

\usepackage{natbib}
\usepackage{bibentry}  % allows full ref text in body
\nobibliography*           % needed with bibentry

\title{TITLE}
\author{authors}
\date{}

\begin{document}
\maketitle

Want a full reference in the text here: \bibentry{Bunch2003}

and a normal reference \citep{Bunch2003}


\bibliographystyle{chicago}
\bibliography{mytestbib}

\end{document}

这是 mytestbib 的内容:

@Article{Bunch2003,
  Title                    = {{S}oft systems methodology and the ecosystem approach: {A} system study of the {C}ooum {R}iver and environs in {C}hennai, {I}ndia},
  Author                   = {Bunch, M. J.},
  Journal                  = {Environmental Management},
  Year                     = {2003},
  Number                   = {2},
  Pages                    = {182-197},
  Volume                   = {31}
}

有人能看到我做错什么吗?

更新看来不兼容是与chicagobibstyle 相关的。使用 后错误消失apalike。有没有什么指导可以修复它以便我可以继续使用chicago

答案1

如果你添加

 \makeatletter 
 \renewcommand\BR@b@bibitem[2][]{\BR@bibitem[#1]{#2}\BR@c@bibitem{#2}}           
 \makeatother

\nobibliography

相关内容