
내 코드는 인수가 옵션 없이 전달되면 BibLatex와 완벽하게 작동하지만 인수가 전달되면 일련의 오류가 나타납니다.~와 함께옵션. 다음은 (각각) 작동하고 작동하지 않는 첫 번째 코드 비트입니다.
\documentclass[pdf]{beamer}
\usepackage{biblatex}
\addbibresource{sample.bib}
그리고
\documentclass[pdf]{beamer}
\usepackage[backend=biber,style=apa,sorting=ynt]{biblatex}
\addbibresource{sample.bib}
왜 그런 일이 일어날 수 있는지에 대한 아이디어가 있는 사람이 있습니까? 아래에는 도움이 되길 바라면서 오류 스크린샷을 붙여넣었습니다.
정말 감사합니다!
답변1
이 코드를 시작하여 시스템에서 실행되는지 확인하세요. 'biber'로 인해 다양한 컴파일을 수행해야 합니다. 작동하지 않으면 설치를 업데이트하십시오.
그런 다음 모든 보조 파일을 삭제한 후 를 사용하여 sample.bib
올바르게 작성되었는지 확인하십시오. biber
경고가 있는 경우 .log 파일을 끝까지 검토하여 경고를 확인하세요 . ("프로세스가 정상적으로 종료되었습니다"로 끝나야 합니다). 또한 biblatex
인코딩에 대해 불만이 있는 경우.
그래도 실패할 경우 .bib 파일을 포함하여 사용 중인 전체 코드를 제공하세요.
% !TeX TS-program = pdflatex
\documentclass[pdf]{beamer}
\usepackage[english]{babel}
\usepackage[%
style=apa,
backend=biber,
natbib=true,
sorting=ynt,
language=english]
{biblatex}
\begin{filecontents*}{\jobname37.bib}
@article{greenwade93,
author = {George Greenwade},
title = {The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})},
year = {1993},
journal = {TUGBoat},
volume = {14},
number = {3},
pages = {342--351},
}
@article{bertram,
author = {Bertram, Aaron and Wentworth, Richard},
title = {Gromov invariants for holomorphic maps on {Riemann} surfaces},
journaltitle = {JAMS},
date = 1996,
volume = 9,
number = 2,
pages = {529-571},
langid = {english},
langidopts = {variant=american},
shorttitle = {Gromov invariants},
annotation = {An \texttt{article} entry with a \texttt{volume} and a
\texttt{number} field},
}
@article{glashow19,
author = {Glashow, Sheldon},
title = {{NASA} sends {MarsProve} to search for {L}a, {A}c, {T}h {P}a and {U} actinides to the {K}uiper belt},
journaltitle = {Nucl.~Phys.},
date = 2019,
volume = 22,
pages = {579-588},
}
\end{filecontents*}
\addbibresource{\jobname37.bib}
\begin{document}
\begin{frame}
\frametitle{Guidelines}
Start with \citep{greenwade93}.
See also \citep{bertram} and \citep{glashow19}.
\end{frame}
\begin{frame}
\frametitle{References}
\printbibliography
\end{frame}
\end{document}