BibTex 内に参照がありません

BibTex 内に参照がありません

参考文献を表示させるのに問題があります。bib ファイルと tex doc の両方が同じサブディレクトリにあります。引用すると、疑問符だけが表示され、参考文献がページの最後に表示されません。XeTeX で作業していますが、それが何か違いを生むかもしれません。

\documentclass[12pt]{article}
\usepackage{natbib}

\begin{document}

\citet{asker:2010b} describes the setting:

\bibliographystyle{plainat}
\bibliography{bidrings}
\end{document}

私のbibファイルは次のようになります:

@article{asker:2010b,
  title={bidding rings},
  author={Asker, John and others},
  journal={The New Palgrave Dictionary of Economics},
  volume={4},
  year={2010},
  publisher={Palgrave Macmillan}
}

答え1

の引数にタイプミスがあります\bibliographystyle。正しくはplainnatない plainat(「BibTeX ログ」)ファイルを調べると.blg、次のようなメッセージが見つかるはずです。

I couldn't open style file plainat.bst
---line 2 of file x.aux
 : \bibstyle{plainat
 :                  }
I'm skipping whatever remains of this command
I found no style file---while reading file <\jobname>.aux

@article対処しなければならない2つ目の別の問題があります。手元のエントリにエントリタイプを使用するのは間違っています。@inproceedings代わりに -- を使用し、journalフィールド名を に変更する必要がありますbooktitle新パルグレイブ経済学辞典これは複数巻からなる書籍シリーズであり、「ジャーナル」ではありません。少なくとも、「ジャーナル」という用語の通常の学術的な意味ではそうではありません。

完全な(動作する)MWE(xelatex、bibtex、xelatex をさらに 2 回実行します):

ここに画像の説明を入力してください

% !TEX TS-program = xelatex
\RequirePackage{filecontents}
\begin{filecontents}{bidrings.bib}
@inproceedings{asker:2010b,
  title={Bidding rings},
  author={Asker, John and others},
  booktitle={The New Palgrave Dictionary of Economics}, 
  volume={4},
  year={2010},
  publisher={Palgrave Macmillan}
}
\end{filecontents}
\documentclass[12pt]{article}
\usepackage{natbib}
\bibliographystyle{plainnat} % <-- not "plainat"

\begin{document}
\citet{asker:2010b} describes the setting:
\bibliography{bidrings}
\end{document}

関連情報