如何解决在启用了Latex Workshop的VSCode上使用Bib文件
我将VScode(macOS操作系统)用作伪背面(试图防止连接问题)。我正在使用revtex模板,并想使用围兜文件保存所有参考。由于某些原因,无法解析bib文件。当我保存bibtex文件时,我输入的引用就消失了。
这是我保存文件时遇到的错误: “ Bibtex解析器因错误而失败:预期为“,”,“ =”,“ \ r \ n”,[\ t \ n]或[^ @ = {}“,\ t \ r \ n],但”}“找到。”
我想像下面一样设置我的VScode,所以如果有人有任何简单的解决方案,请发表评论!
下面是我的代码
\documentclass[a4paper,amsfonts,amssymb,amsmath,reprint,showkeys,nofootinbib,twoside,aps,pra]{revtex4-1}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[colorinlistoftodos,color=green!40,prependcaption]{todonotes}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{physics}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage[left=23mm,right=13mm,top=35mm,columnsep=15pt]{geometry}
\usepackage{adjustbox}
\usepackage{placeins}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{csquotes}
% \usepackage{biblatex}
\usepackage[pdftex,pdftitle={Article},pdfauthor={Author}]{hyperref} % For hyperlinks in the PDF
\def\bibsection{\section*{\refname}} % removes ugly line above bibliography
%\setlength{\marginparwidth}{2.5cm}
% \bibliographystyle{apsrev4-1}
% \addbibresource{LitReviewNotes.bib}
\begin{document}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。