TexWorks의 참고문헌 및 참고문헌 관련 문제

TexWorks의 참고문헌 및 참고문헌 관련 문제

저는 Latex로 보고서를 작성하고 있으며 별도의 bib 파일에 참조가 있고 이를 주 문서에서 \cite{xxx}.

Windows에서 Texworks를 사용하고 있습니다. bbl을 생성하기 위해 bib를 컴파일한 후 "pdflatex + MakeIndex + BibTex"를 사용하여 tex 파일을 컴파일하면 PDF 보고서를 볼 수 있지만 끝에 Bibilography 섹션이 표시되지 않고 표시되지 않습니다. 참고문헌에 대한 적절한 참조 대신 물음표조차 포함하지 않은 참고문헌에 대한 참조입니다.

입력하여 참고문헌을 포함합니다.

 \bibliography{plain}

그리고

 \bibliography{"C:/Users/BibName"}

tex 파일의 끝에서

그런 다음 pdflatex + bibtex + pdflatex + pdflatex를 시도했습니다. 시도해 보니 마지막에 '참조' 섹션이 표시되지만 다음과 같은 참조가 표시되지 않습니다.

1. Reinhard, D.A. Case Study

논문에도 인용이 안 나오네요

MWE는 다음과 같습니다. tex는 다음과 같습니다.

\documentclass{article}  
\begin{document}  
Alpha particles \cite{example} (named after and denoted by the first letter in the
Greek alphabet,\[\alpha\]) consist of two protons and two neutrons bound
together.
This means that an particle is a helium nucleus. 

\bibliography{plain}
\bibliographystyle{plain}
\bibliography{BibName}

\end{document}

턱받이는 다음과 같습니다.

@article{example,
  author = {Knuth, Donald E.},
  year = {1986},
  title = {The \TeX book},
}

내가 도대체 ​​뭘 잘못하고있는 겁니까?

답변1

\bibliography{<file>}<file>.bibBibTeX 참조가 포함된 이름을 나타내고 \bibliographystyle{<bibstyle>}참조가 표시되기를 원하는 스타일을 나타냅니다. 분명히 하나만 원합니다 \bibliography.

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

\documentclass{article}

\usepackage{filecontents}
\begin{filecontents*}{references.bib}
@article{example,
  author = {Knuth, Donald E.},
  year = {1986},
  title = {The {\TeX} book},
}
\end{filecontents*}

\begin{document}  
Alpha particles~\cite{example} (named after and denoted by the first letter in the
Greek alphabet,~$\alpha$) consist of two protons and two neutrons bound
together. This means that an particle is a helium nucleus. 

\bibliographystyle{plain}
\bibliography{references}

\end{document}

답변2

아마도 이것이 도움이 될 것입니다(이미 수행했을 수도 있는 매우 기본적인 작업이지만 그렇지 않으면 머리가 깨질 수 있습니다).

.tex 및 .bib 이름에는 공백을 피하십시오. 등에서 도 공백이 포함된 이름을 생성합니다 .aux..bbl

나는 같은 문제를 겪었습니다. 참조 대신 물음표가 있는 최종 .pdf가 있는 긴 .tex 및 .bib 파일과 Warning--I didn't find a database entry for "XXXX"Package natbib Warning: There were undefined citations.. 전혀 아니요 .bbl, 웹서핑시 답변이 없습니다.

마지막에는 알 수 없는 문자를 피하기 위해 모든 것을 새 파일의 새 폴더에 복사/붙여넣고 이름도 변경했습니다. 새 이름에 공백( test.tex대신 ) 이 없었기 때문에 마술처럼 작동했습니다 pritty work for my lovely boss v_342.tex.

N. of R.: 저는 Windows에서 작업하고 있는데 TeXworks를 사용해서만 이런 일이 일어났습니다. 슬러그보다 반응이 적어서 사용하지 않는 오래된 PC(또한 Windows 플랫폼)에서는 이름에 공백이 있어도 완벽하게 작동하므로 이전 PC에 TeXnicCenter가 있었기 때문이라고 생각합니다. 그런데 TeXnicCenter를 사용하면 여러 번 컴파일해야 하지만 고유한 컴파일 옵션(LaTeX=>PDF)을 사용하면 됩니다. TeXworks를 사용하면 pdfLaTeX로 컴파일한 다음 BibTeX로 컴파일하고 마지막으로 다시 pdfLaTex로 두 번 컴파일해야 합니다. 항상 .tex 파일입니다.

관련 정보