라텍스로 bibtex 참고문헌을 올바르게 추가하는 방법은 무엇입니까?

라텍스로 bibtex 참고문헌을 올바르게 추가하는 방법은 무엇입니까?

나는 라텍스 파일에 참고문헌을 다음과 같이 추가했습니다:

...to the literature \cite{ahu61}
\bibliography{bibliography}

bibliography.bib모습은 다음과 같습니다.

@article{ahu61,
       author={Arrow, Kenneth J. and Leonid Hurwicz and Hirofumi Uzawa},
       title={Constraint qualifications in maximization problems},
       journal={Naval Research Logistics Quarterly},
       volume={8},
       year = 1961,
       pages = {175-191}
     }

내가 받은 표창장을 그대로 유지하면

Texification succeeded: no errors!

However, there were warnings in your LaTeX source

./main.tex:231: LaTeX Warning: Citation `ahu61' on page 4 undefined on input line 231.
./main.tex: LaTeX Warning: There were undefined references.

그리고 참고문헌도 없습니다.

제거하면 경고는 표시되지 않지만 참고문헌도 표시되지 않습니다.

답변1

\bibliographystyle'표준'을 사용하는 최소 LaTeX 파일에는 줄 외에 한 줄이 있어야 하며 \bibliography하나 이상의 인용( \cite)이 있어야 합니다.

\documentclass{article}
\bibliographystyle{plain}
\begin{document}
...to the literature \cite{ahu61}
\bibliography{bibliography}
\end{document}

기존 스타일이 많이 있습니다. 상황에 따라 올바른 선택이 달라집니다.

관련 정보