
내 코드에 \begin{document}
이 있는데도 누락된 오류가 발생합니다 .\begin{document}
다른 파일은 여기에 있습니다(https://drive.google.com/drive/folders/0B4GteP8rSaosSGZDLTJrbFJlUWs?usp=sharing). 참고문헌이 문제를 일으키는 것 같습니다.
\documentclass[11pt]{article}
\usepackage{ifthen}
\newboolean{PrintVersion}
\setboolean{PrintVersion}{false}
% CHANGE THIS VALUE TO "true" as necessary, to improve printed results for hard copies
% by overriding some options of the hyperref package below.
%\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org)
\usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments
\usepackage[pdftex]{graphicx} % For including graphics N.B. pdftex graphics driver
\usepackage[pdftex,letterpaper=true,pagebackref=false]{hyperref} % with basic options
% N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.
\hypersetup{
plainpages=false, % needed if Roman numbers in frontpages
pdfpagelabels=true, % adds page number as label in Acrobat's page count
bookmarks=true, % show bookmarks bar?
unicode=false, % non-Latin characters in Acrobat’s bookmarks
pdftoolbar=true, % show Acrobat’s toolbar?
pdfmenubar=true, % show Acrobat’s menu?
pdffitwindow=false, % window fit to page when opened
pdfstartview={FitH}, % fits the width of the page to the window
pdftitle={uWaterloo\ LaTeX\ Thesis\ Template}, % title: CHANGE THIS TEXT!
pdfnewwindow=true, % links in new window
colorlinks=true, % false: boxed links; true: colored links
linkcolor=blue, % color of internal links
citecolor=green, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=cyan % color of external links
}
\ifthenelse{\boolean{PrintVersion}}{ % for improved print quality, change some hyperref options
\hypersetup{ % override some previously defined hyperref options
% colorlinks,%
citecolor=black,%
filecolor=black,%
linkcolor=black,%
urlcolor=black}
}{} % end of ifthenelse (no else)
\bibliography{bibfiles.d/.master,bibfiles.d/.psd,bibfiles.d/.Cook2012}
\begin{document}
fhjh hjkhj
hohilkj
\end{document}
답변1
두 가지 진단을 생각해 볼 수 있습니다.
단순히 패키지를 로드하는 데 실패했습니다
biblatex
. (이 시나리오를 고려하는 이유는 문서에\bibliographystyle
명령이 포함되어 있지 않기 때문입니다. 이러한 명령은 BibTeX에서는 필요하지만 biblatex에서는 필요하지 않습니다.)biblatex
로드되지 않은 경우\bibliography
명령은해서는 안 된다서문에 배치됩니다. 단순히 패키지 로드에 실패한 경우에는biblatex
로드하십시오. 지시도 바꿔야지\bibliography{bibfiles.d/.master,bibfiles.d/.psd,bibfiles.d/.Cook2012}
에게
\addbibresource{bibfiles.d/.master.bib,bibfiles.d/.psd.bib,bibfiles.d/.Cook2012.bib}
(biblatex에서는
\bibliography
더 이상 사용되지 않습니다.) 파일 이름 확장자가 추가되었습니다.bib
. 아직도 몇 가지\cite
지침과 지침을 제공할 계획이군요\printbibliography
, 그렇죠?실제로는 패키지를 로드할 의도가 없습니다
biblatex
. 이 경우\bibliography
지시문을 서문에 배치하면 안 됩니다. 대신 문서 본문의 형식화된 참고문헌이 배치되어야 하는 위치에 배치되어야 합니다.\bibliographystyle
물론 적절한 지시문도 제공해야 합니다 . 그리고 몇 가지\cite
지침도 제공하게 되겠죠?
그런데 세 bib
파일이 정말 모두 .
(점)으로 시작하나요? 유닉스 계열 시스템에 있는 경우 "숨겨진" 항목이 됩니다.