亲爱的
我已经下载了这个模板http://www.latextemplates.com/template/jacobs-landscape-poster但是在编译它时,出现texmaker
了以下错误:
Process started
INFO - This is Biber 2.5 INFO - Logfile is 'main.blg'
ERROR - Cannot find control file 'main.bcf'! - did you pass the "backend=biber" option to BibLaTeX? INFO - ERRORS: 1
Process exited with error(s)
现在我最近更新了我的texmaker
偏好设置,使用 biber 而不是 bibtex(基于我在这里读到的建议),通过输入"/usr/texbin/biber" %
如何克服这个错误?模板中的参考书目如下
\nocite{*} % Insert publications even if they are not cited in the poster
\small{\bibliographystyle{unsrt}
\bibliography{sample}\vspace{0.75in}}
谢谢
答案1
感谢大家的评论,问题是我需要继续使用 bibtex 或相应地修改模板以使其与 biblatex 兼容。我选择了后者,并根据要切换到 biblatex 该怎么做?我成功了。
只需删除
\nocite{*} % Insert publications even if they are not cited in the poster
\small{\bibliographystyle{unsrt}
\bibliography{sample}\vspace{0.75in}}
并添加
\usepackage{biblatex}
\addbibresource{sample.bib}
到你的序言和\printbibliography
参考块
\begin{block}{References}
\printbibliography
\end{block}
最后,参考小的字体大小见这个答案