
저는 LaTeX를 처음 접했고 이미 만든 인용 스타일을 사용하려고 합니다. 이제 이 스타일을 어떻게 사용하는지 궁금합니다. natbib 패키지를 사용하여 솔루션을 찾았습니다. 하지만 작동하지 않습니다.
natbib의 작동 방식을 보여주는 튜토리얼을 복제하려고 했지만 복제할 수 없었습니다. 코드는 다음과 같습니다:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
%Includes "References" in the table of contents
\usepackage[nottoc]{tocbibind}
%Import the natbib package and sets a bibliography style
\usepackage[square,numbers]{natbib}
\bibliographystyle{abbrvnat}
\begin{document}
\section{First Section}
This document is an example of \texttt{natbib} package using in bibliography management. Three items are cited: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, the Einstein journal paper \citet{einstein}, and the Donald Knuth's website \cite{knuthwebsite}. The \LaTeX\ related items are \cite{latexcompanion,knuthwebsite}.
\medskip
%Imports the bibliography file "sample.bib"
\bibliography{Lit}
\end{document}
PDFLaTeX로 이 문서를 컴파일하면 인용이 확실하지 않습니다. PDFLaTeX -> BibTeX -> PDFLaTeX -> PDFLaTeX를 사용하면 다음 오류가 발생합니다.
ERROR - Cannot find 'Test.bcf'! INFO - ERRORS: 1
어떻게 해야 하나요?