bibtex 错误消息包 natbib 错误:参考书目与作者年份引用不兼容。 (natbib) 按继续

bibtex 错误消息包 natbib 错误:参考书目与作者年份引用不兼容。 (natbib) 按继续
\documentclass[12pt,roman]{report}
\usepackage{lipsum}
\usepackage{fullpage}
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{ulem}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{kpfonts}
\usepackage{natbib}
\usepackage{parskip}
\usepackage{tikz}
\usepackage{appendix}
\usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
\author{\bf Ray Makondo\\ \bf Reg Number:M121549}
\title{Great Zimbabwe University\\ Faculty of Commerce\\ Department of Economics\\\begin{flushleft}
MODELLING THE RELATIONSHIP BETWEEN UNEMPLOYMENT AND INFLATION IN ZIMBABWE FROM 1980-2014
\end{flushleft}}
\begin{document}
\maketitle
\tableofcontents
\newpage
\chapter{Introduction and Background}
\section{Indroduction}
One of the fundamental objectives of nations if many is to sustain low level of unemployment as well as inflation.The costs related with inflation are of major economic interest since they determine the level of economic performance of a nation.
\bibliographystyle{apalike}
\bibiliography{citation}
\end{document}

我的数据库是:

@article{Ireland2014,
author = {Ireland, P},
journal = {Manhattan Institute},
title = {{Shadow open market commitee meeting}},
year = {2014}
}
@book{Arnold2008,
address = {San Marcos},
author = {Arnold, R},
publisher = {California State University},
title = {{Economics}},
year = {2008}
}
@book{Gordon1982,
author = {Gordon, Robert J},
booktitle = {Inflation: Causes and Effects},
isbn = {0226313239},
pages = {11--40},
title = {{Why Stopping Inflation May Be Costly : Evidence from Fourteen Historical Episodes}},
url = {http://www.nber.org/books/hall82-1},
year = {1982}
}
@article{Feldstein.S1996,
author = {Feldstein.S},
journal = {National Tax Journal},
title = {{Social Security and Saving: New time series evidence.}},
year = {1996}
}
@article{ZimStats2011,
author = {ZimStats},
title = {{Quarterly Labour Force survey}},
year = {2011}
}
@Article{Cagan,
author = {Cagan},
title = {The monetary dynamics of hyperinflation},
journal = {Economica},
year = {1957}
}
@Article{Fanelli,
author = {Fanelli, L},
title = {\lq\lqTesting the New Keynesian Phillips curve through Vector Autoregressive Models". results from the Euro area.},
year = {2005}
}

我收到一条错误消息,输出给出了混合参考格式,其他格式已编号,其他格式按方括号排序

答案1

嗯,您给出的消息是由一些缺失journal字段和一个缺失publisher字段引起的(我用MISSING JOURNAL等添加了它们)。我在以下 MWE(最小工作示例)中添加了它们。您调用的许多包与您产生的错误无关。我只是删除了它们。

所以,请学习以下 MWE 并请阅读代码中插入的注释:

\RequirePackage{filecontents} % only to have bib file and tex code in one MWE
\begin{filecontents*}{\jobname.bib}
@article{Ireland2014,
author = {Ireland, P},
journal = {Manhattan Institute},
title = {{Shadow open market commitee meeting}},
year = {2014},
}
@book{Arnold2008,
address = {San Marcos},
author = {Arnold, R},
publisher = {California State University},
title = {{Economics}},
year = {2008},
}
@book{Gordon1982,
author = {Gordon, Robert J},
booktitle = {Inflation: Causes and Effects},
publisher = {MISSING PUBLISHER},
isbn = {0226313239},
pages = {11--40},
title = {Why Stopping Inflation May Be Costly: Evidence from Fourteen Historical Episodes},
url = {http://www.nber.org/books/hall82-1},
year = {1982},
}
@article{Feldstein.S1996,
author = {Feldstein.S},
journal = {National Tax Journal},
title = {{Social Security and Saving: New time series evidence.}},
year = {1996},
}
@article{ZimStats2011,
  author = {ZimStats},
  title = {{Quarterly Labour Force survey}},
  journal = {MISSING JOURNAL},
  year = {2011},
}
@Article{Cagan,
author = {Cagan},
title = {The monetary dynamics of hyperinflation},
journal = {Economica},
year = {1957},
}
@Article{Fanelli,
  author = {Fanelli, L},
  title = {The New Keynesian Phillips curve through Vector Autoregressive Models. Results from the Euro area.},
  journal = {MISSING JOURNAL},
  year = {2005},
}
\end{filecontents*}


\documentclass[12pt,roman]{report}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{ulem}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{parskip}
\usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}

\usepackage{hyperref} % better bibliography

\author{\bf Ray Makondo\\ \bf Reg Number:M121549}
\title{Great Zimbabwe University\\ Faculty of Commerce\\ 
  Department of Economics\\
  \begin{flushleft}
    MODELLING THE RELATIONSHIP BETWEEN UNEMPLOYMENT AND INFLATION IN 
    ZIMBABWE FROM 1980-2014
  \end{flushleft}
}


\begin{document}
\maketitle
\tableofcontents
\newpage
\chapter{Introduction and Background}
\section{Indroduction}
One of the fundamental objectives of nations if many is to sustain low 
level of unemployment as well as inflation.The costs related with 
inflation are of major economic interest since they determine the level 
of economic performance of a nation.
\nocite{*} % to check all bib entrys
\bibliographystyle{apalike}
\bibliography{\jobname} % not bibiliography
\end{document} 

使用当前的 MiKTeX 2.9 我得到以下结果(仅参考书目页面):

仅限参考书目页

请更改您的其他问题,将您的 bib 文件和 TeX 代码缩短到相关部分以重现错误,正如我在这个答案中向您展示的那样......

相关内容