I am writing a thesis and I want all chapters to be in different directories, but all linked via the \include statement. All is well except with the bibliography, for which I keep on having the following error message
I've attached the mwe, the file MWE1.tex and MWE1.bib being in 1 directory and MWE.tex being in another. I'm guessing it is obvious when one knows bibtex pretty well...which I don't!This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file: MWE1.aux
The style file: apalike.bst
A level-1 auxiliary file: SITES/MWE.aux
Database file #1: MWE1.bib
Warning--I didn't find a database entry for "Cosby94"
(There was 1 warning)
ps: I'd only like one bibliography section for the whole thesis (i.e. not at the end of each chapter)
Code: Select all
%MWE1.tex
\documentclass{article}
\usepackage[round]{natbib}
\begin{document}
\bibliographystyle{apalike} % style of bibliography
\include{SITES/MWE}
\bibliography{MWE1}
\end{document}
Code: Select all
%MWE.tex
This is what I am citing \cite{Cosby94}
Code: Select all
%MWE1.bib
@article{Cosby84,
author = "Cosby, B. J. and G. M. Hornberger and R. B. Clapp and T. R. Ginn.",
title = "A Statistical Exploration of the Relationships of Soil-Moisture Characteristics to the Physical-Properties of Soils",
journal = "Water Resources Research",
volume = "20",
pages = "682-690",
year = "1984" }