
現在、 の参考文献の使用に問題がありますLaTeX
。 .bib ファイルを使用して追加しましたが、参照が表示されません。 また、 を実行し、LaTeX
を実行してbibtex
から、もう一度 LaTeX を 2 回実行します。 本文で引用しましたが、\notice{*}
念のため も使用しました。 以下に、問題を示す MWE を示します。
すでに助けてくれてありがとう!
これはマスター ドキュメントであるメイン ファイルです。
\documentclass[10pt,a4paper]{report}
\usepackage [version=4] {mhchem}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
\noindent
\newpage
\tableofcontents
\newpage
\input{maintext.tex}
\nocite{*}
\bibliography{testbib}
\bibliographystyle{plain}
\addcontentsline{toc}{chapter}{References}
\end{document}
これは .bib ファイルです:
@book{Hesp, author = "J. P. Hespanha", title = "Linear Systems Theory", publisher = "Princeton", year = "2009", }
これは入力として使用されるテキストファイルです
\chapter{main}
this is the main text \cite{Hesp}