几天来,我一直在尝试让我的参考书目在 Texmaker 中工作,搜索互联网等,但都没有成功。我希望你能帮助我。
这是我的测试代码:
\documentclass{article}
\usepackage[
backend=biber
]{biblatex}
\addbibresource{ReferencesMaster.bib}
\begin{document}
Let's cite! The Einstein's journal paper \parencite{apardian2017study} and the Dirac's
book \cite{chen2016effects} are physics related items.
\printbibliography
\end{document}
当我配置 Texmaker 的 Bib(la)tex 命令并使用时,我可以成功使用 Bibtex \usepackage[backend=bibtex]{biblatex}
,但是当我将其切换回 biber 时,我收到以下错误消息:
INFO - This is Biber 2.11 INFO - Logfile is 'test.blg' INFO - Reading
'test.bcf' INFO - Found 2 citekeys in bib section 0 INFO - Processing section 0
INFO - Looking for bibtex format file 'ReferencesMaster.bib' for section 0 INFO -
LaTeX decoding ... INFO - Found BibTeX data source 'ReferencesMaster.bib' ERROR -
BibTeX subsystem: /var/folders/sm/k_n34lsd247d8tsz8v72yzs00000gn/T/EBOgoF492O/ReferencesMaster.bib_26499.utf8, line 1, syntax error: found "title", expected
"=" INFO - ERRORS: 1
你能告诉我我做错了什么吗?
这是我的参考书目的样本。
@article{apardian2017study,
title={A Study of Effectiveness of Midblock Pedestrian Crossings: Analyzing a Selection of High-Visibility Warning Signs},
author={Apardian, Bekka and Alam, Bhuiyan Monwar},
journal={Interdisciplinary Journal of Signage and Wayfinding},
volume={1},
number={2},
pages={26--59},
year={2017}
}
@article{besag1974spatial,
title={Spatial interaction and the statistical analysis of lattice systems},
author={Besag, Julian},
journal={Journal of the Royal Statistical Society. Series B (Methodological)},
pages={192--236},
year={1974},
publisher={JSTOR}
}
@article{chen2016effects,
title={Effects of the built environment on automobile-involved pedestrian crash frequency and risk},
author={Chen, Peng and Zhou, Jiangping},
journal={Journal of Transport \& Health},
volume={3},
number={4},
pages={448--456},
year={2016},
publisher={Elsevier}
}
这可能是一个愚蠢的问题,但我是初学者……我需要安装 Biber 吗?除了 Texmaker,我还安装了 LaTeXiT、TeX Live Utility、TeXShop、BibDesk、Texstudio 和 MiKTeX Console。我在 Mac 上运行它。