잘못된 상호 참조 오류

잘못된 상호 참조 오류

Mac에서 TexMaker를 사용하고 있습니다. 내 BIB 파일에는 다음과 같은 항목이 있습니다.

@inproceedings{DBLP:conf/wsdm/YeungI11,
  author    = {Ching{-}man Au Yeung and
               Tomoharu Iwata},
  title     = {Strength of social influence in trust networks in product review sites},
  booktitle = {Proceedings of the Forth International Conference on Web Search and
               Web Data Mining, {WSDM} 2011, Hong Kong, China, February 9-12, 2011},
  pages     = {495--504},
  year      = {2011},
  crossref  = {DBLP:conf/wsdm/2011},
  url       = {http://doi.acm.org/10.1145/1935826.1935899},
  doi       = {10.1145/1935826.1935899},
  timestamp = {Mon, 31 Jan 2011 13:46:06 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/wsdm/YeungI11},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

(DBLP 홈페이지에서 가져왔습니다)

TEX 파일을 컴파일할 때 오류가 발생했습니다.

 bad cross reference---entry "DBLP:conf/wsdm/YeungI11" refers to entry "DBLP:conf/wsdm/2011", which doesn't exist

ShareLatex에서는 문제없이 파일을 컴파일할 수 있습니다.

TexMaker에서 파일을 컴파일하려면 어떻게 해야 합니까?

답변1

(댓글이 너무 길어 답변으로 게시되었습니다.)

다음과 같은 오류 메시지가 나타나는 이유는 두 가지입니다.

잘못된 상호 참조---항목 "DBLP:conf/wsdm/YeungI11"은 존재하지 않는 항목 "DBLP:conf/wsdm/2011"을 나타냅니다.

DBLP:conf/wsdm/2011첫째, 로컬 컴퓨터(TeXMaker를 프런트 엔드로 사용)에서 사용하는 bib 파일에 키가 있는 항목이 없습니다. 둘째, 항목이 실제로 bib 파일에 존재하지만 발생합니다.~ 전에키가 있는 항목입니다 DBLP:conf/wsdm/YeungI11. BibTeX의 crossref필드가 작동하려면 항목이 상호 참조됩니다.~ 해야 하다crossref문제의 필드를 포함하는 항목보다 bib 파일에서 나중에 발생합니다 .

어쨌든 다음 MWE는 제대로 작동합니다(DBLP에서 얻은 두 항목에 대한 정보). 의 항목 순서를 확인하세요 test.bib.

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

\RequirePackage{filecontents}
\begin{filecontents}{test.bib}

@inproceedings{DBLP:conf/wsdm/YeungI11,
  author    = {Ching{-}man Au Yeung and
               Tomoharu Iwata},
  title     = {Strength of social influence in trust networks in product review sites},
  booktitle = {Proceedings of the Forth International Conference on Web Search and
               Web Data Mining, {WSDM} 2011, Hong Kong, China, February 9-12, 2011},
  pages     = {495--504},
  year      = {2011},
  crossref  = {DBLP:conf/wsdm/2011},
  url       = {http://doi.acm.org/10.1145/1935826.1935899},
  doi       = {10.1145/1935826.1935899},
  timestamp = {Mon, 31 Jan 2011 13:46:06 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/wsdm/YeungI11},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

@proceedings{DBLP:conf/wsdm/2011,
  editor    = {Irwin King and
               Wolfgang Nejdl and
               Hang Li},
  title     = {Proceedings of the Forth International Conference on Web Search and
               Web Data Mining, {WSDM} 2011, Hong Kong, China, February 9-12, 2011},
  publisher = {{ACM}},
  year      = {2011},
  isbn      = {978-1-4503-0493-1},
  timestamp = {Mon, 31 Jan 2011 13:29:32 +0100},
  biburl    = {http://dblp.uni-trier.de/rec/bib/conf/wsdm/2011},
  bibsource = {dblp computer science bibliography, http://dblp.org}
}

\end{filecontents}

\documentclass{article}
\usepackage[numbers]{natbib}
\bibliographystyle{plainnat}

\begin{document}
\cite{DBLP:conf/wsdm/YeungI11}
\bibliography{test}
\end{document}

관련 정보