
나는 숭고한 텍스트로 작업하고 있으며 언제든지 참고 문헌을 추가하려고 할 때 경고: 빈 참고 문헌과 함께 실패했습니다. 이 문제를 어떻게 해결할 수 있나요? 내 코드는 다음과 같습니다.
\documentclass[12pt, a4paper, leqno]{article}
\usepackage{a4wide}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{appendix}
\usepackage{float, afterpage, rotating, graphicx}
\usepackage{epstopdf}
\usepackage{longtable, booktabs, tabularx}
\usepackage{fancyvrb, moreverb, relsize}
\usepackage{eurosym, calc}
\usepackage{amsmath, amssymb, amsfonts, amsthm, bm}
\usepackage{newtxtext,newtxmath}
\usepackage{caption}
\usepackage{mdwlist}
\usepackage{xfrac}
\usepackage{setspace}
\usepackage{xcolor}
\usepackage{subcaption}
\usepackage{minibox}
\usepackage{makecell}
\renewcommand{\theadfont}{\normalsize}
\usepackage{geometry}
\geometry{
left=3cm,
right=2cm,
top=2cm,
bottom=2cm,
}
\usepackage[backend=biber]{biblatex}
\addbibresource{refs.bib}
\usepackage[unicode=true]{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
anchorcolor=black,
citecolor=black,
filecolor=black,
menucolor=black,
runcolor=black,
urlcolor=black
}
\widowpenalty=10000
\clubpenalty=10000
\setlength{\parskip}{2ex}
\setlength{\parindent}{0ex}
\setstretch{1.5}
\begin{document}
abcdefghijklmn...
\newpage
\printbibliography
\end{document}
내 턱받이 파일은
@article{acemoglu2008income,
title={Income and democracy},
author={Acemoglu, Daron and Johnson, Simon and Robinson, James A and Yared, Pierre},
journal={American Economic Review},
volume={98},
number={3},
pages={808--42},
year={2008}
}
@book{baltagi2008econometric,
title={Econometric analysis of panel data},
author={Baltagi, Badi},
year={2008},
publisher={John Wiley \& Sons}
}
@article{kiviet1995bias,
title={On bias, inconsistency, and efficiency of various estimators in dynamic panel data models},
author={Kiviet, Jan F},
journal={Journal of econometrics},
volume={68},
number={1},
pages={53--78},
year={1995},
publisher={Elsevier}
}
답변1
참고문헌에 표시되도록 문서의 출처를 인용해야 합니다. .tex 파일을 다음으로 변경하십시오.
\documentclass[12pt, a4paper, leqno]{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{refs.bib}
\begin{document}
a\autocite[\pno~1]{acemoglu2008income}
b\autocite{baltagi2008econometric}
cdefghijklmn...
\nocite{kiviet1995bias}
\newpage
\printbibliography
\end{document}
그리고 그것은 작동해야합니다. 모든 참조와 참고 사항을 올바르게 얻으려면 pdflatex, biber, pdflatex, pdflatex를 실행하는 것을 잊지 마십시오.
다음 질문에 최소한의 작업 예제(모든 추가 사용 패키지 없이)를 게시하는 것을 고려하십시오. 때로는 최소한의 예제를 구축하면 문제가 무엇인지 알 수 있습니다.