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}

내 턱받이 파일은 다음과 같습니다

@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: It should be 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현재 항목에 항목 유형을 사용하는 것이 잘못되었습니다. @inproceedings대신 을 사용하고 journal필드 이름을 로 변경 해야 합니다 booktitle. 그만큼새로운 Palgrave 경제학 사전는 "저널"이 아닌 여러 권으로 구성된 책 시리즈입니다. 적어도 "저널"이라는 용어의 일반적인 학술적 의미에서는 그렇지 않습니다.

전체(작동하는) MWE(xelatex, bibtex 및 xelatex를 두 번 더 실행):

여기에 이미지 설명을 입력하세요

% !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}

관련 정보