TeXStudio Biblatex 找不到自定义参考书目样式文件

TeXStudio Biblatex 找不到自定义参考书目样式文件

我正在使用 TexStudio 4.7.1 和 BibLatex 3.19,并尝试使用自定义样式文件。我在与 uclathes.sty 文件相同的文件夹中有以下 tex 文件:

\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,style=uclathes]{biblatex}
\addbibresource{thesisbib.bib}

\title{Title}
\author{Author}

\begin{document}

\maketitle

\parencite{II_1book}
\printbibliography

\end{document}

当我使用 TexStudio 进行编译时,出现以下错误

Package biblatex Error: Style 'uclathes' not found. \RequireBibliographyStyle{\blx@bbxfile}
Package biblatex Error: Style 'uclathes' not found. \RequireCitationStyle{\blx@cbxfile}
Package biblatex Error: Command '\cite' undefined. \parencite
Missing $ inserted. \parencite{II_
Extra }, or forgotten $. \parencite{II_1book}
Missing $ inserted.
Missing \endgroup inserted.
Undefined control sequence.
Undefined control sequence.
Undefined control sequence.
Undefined control sequence.
Undefined control sequence.
Undefined control sequence.
Undefined control sequence.
Missing } inserted.
Extra \endgroup.
'\parencite' not defined by citation style.
Empty bibliography
There were undefined references.
Please (re)run Biber on the file:(biblatex) test_file(biblatex) and rerun LaTeX afterwards.

如果我省略,一切都会正常工作style=uclathes。我也尝试过使用style=uclathes.bib,但无济于事。

我还使用了自定义文档类 uclathes.cls,如果我将其与包含该文档类的测试文件放在同一个文件夹中,则一切正常。这是 biblatex 的 .sty 文件的特殊之处,还是我的 LaTeX 设置存在更深层次的问题?

我尝试将 tex 文件样式文件(用于 documentclass 和 bibliography 样式)放在其自己的文件夹中,但仍然不起作用。我尝试同时使用 uclathes documentclass 和 uclathes bibliography 样式,但仍然不起作用。有几个关联的 .clo 文件,Texstudio 可以找到除 .bst 文件之外的所有文件。

相关内容