我在论文中插入新参考文献时遇到了问题,因此我尝试隔离该问题,但最终却出现了这个奇怪的错误。
This is BibTeX, Version 0.99d (TeX Live 2016)
The top-level auxiliary file: test.aux
The style file: plainnat.bst
I couldn't open database file mybiblio2.bib
---line 5 of file test.aux
: \bibdata{mybiblio2
: }
I'm skipping whatever remains of this command
I found no database files---while reading file test.aux
Warning--I didn't find a database entry for "theJackson"
Warning--I didn't find a database entry for "CCCB"
(There were 2 error messages)
我的乳胶文件是测试.tex:
\documentclass{article} % use "amsart" instead of "article" for AMSLaTeX format
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\usepackage{amsmath}
\geometry{letterpaper} % ... or a4paper or a5paper or ...
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx} % Use pdf, png, jpg, or eps§ with pdflatex; use eps in DVI mode
\usepackage{rotating}
\usepackage{booktabs}
\usepackage{natbib}
\bibliographystyle{plainnat}
\usepackage{amssymb}
\usepackage[hyphens,spaces]{url}
\usepackage[T1]{fontenc}
\usepackage{caption}
\captionsetup[table]{skip=15pt}
\title{Notes}
\author{Gabriele Brambilla}
\begin{document}
\maketitle
\section{Try}
bbaucmn \cite{theJackson}\newline
cnnjfbkjeb \cite{CCCB}
\bibliography{mybiblio2}
\end{document}
我的 bibtex 文件我的书目2.bib
@BOOK{Jackson,
author = {{Jackson}, J.~D.},
title = "{Classical Electrodynamics, 3rd Edition}",
booktitle = {Classical Electrodynamics, 3rd Edition, by John David Jackson, pp.~832.~ISBN 0-471-30932-X.~Wiley-VCH , July 1998.},
year = 1998,
month = jul,
adsurl = {http://adsabs.harvard.edu/abs/1998clel.book.....J},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@BOOK{CCCB,
author = {{Clarke}, C. and {Carswell}, B.},
title = "{Principles of Astrophysical Fluid Dynamics}",
booktitle = {Principles of Astrophysical Fluid Dynamics, by Cathie Clarke , Bob Carswell, Cambridge, UK: Cambridge University Press, 2007},
year = 2007,
month = mar,
adsurl = {http://adsabs.harvard.edu/abs/2007pafd.book.....C},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
你知道问题出在哪里吗?几天前,原始文件运行正常!我正在使用 TexShop。