无法创建参考书目(未找到 plain.bst)

无法创建参考书目(未找到 plain.bst)

由于我的参考书目不起作用,我创建了一个测试文件

\documentclass{article}
\usepackage[utf8]{inputenc}

\title{Test}
\author{test}
\date{February 2020}

\usepackage{natbib}
\usepackage{graphicx}

\begin{document}

\maketitle

\section{Introduction}
There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened.


\section{Conclusion}
``I always thought something was fundamentally wrong with the universe''\cite{adams1995hitchhiker}

\bibliographystyle{plain}
\bibliography{references}
\end{document}

相应的 bib 文件references.bib

@book{adams1995hitchhiker,
  title={The Hitchhiker's Guide to the Galaxy},
  author={Adams, D.},
  isbn={9781417642595},
  url={http://books.google.com/books?id=W-xMPgAACAAJ},
  year={1995},
  publisher={San Val}
}

在同一文件夹中。如果我在 Overleaf 中执行此操作,它工作正常。然而,在 TeXstudio 中我收到以下错误消息

|Process started: bibtex "QuellenTest".aux

This is BibTeX, Version 0.99d (TeX Live 2015/Debian)
The top-level auxiliary file: QuellenTest.aux
I couldn't open style file plain.bst
---line 3 of file QuellenTest.aux
 : \bibstyle{plain
 :                }
I'm skipping whatever remains of this command
I couldn't open database file references.bib
---line 4 of file QuellenTest.aux
 : \bibdata{references
 :                    }
I'm skipping whatever remains of this command
I found no database files---while reading file QuellenTest.aux
I found no style file---while reading file QuellenTest.aux
(There were 4 error messages)

Process exited with error(s)"

然后我下载了一个plain.bst文件并将其放在同一个文件夹中,但仍然出现相同的错误。

相关内容