I am writing my thesis. I have a main file code is given below. When I run this file it produces pdf document. but it does not open .bib file. The error says:
I didn't find database entry for "test1"
testbib is name of my .bib file containing references and test1 is name of citation.
I am using MiKTeX and TeXnicCenter as LaTeX tools. I hope I made my question more clear. I have tried TeXstudio but same problem. May be I am missing some thing?
here is code for .bibfile
\usepackage{filecontents} \begin{filecontents}{testbib.bib}
@Book{test1, author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander}, title = {The LaTeX Companion}, publisher = {Addison-Wesley}, location = {Reading, Mass.}, year = {1994}, } \end{filecontents}
here is code for my main file.
\documentclass[???]{???}
%\input{preamble}
\begin{document}
%\input{Sections/Title} % etc. deleted other \input's
\tableofcontents
\listoffigures
\listoftables
%\input{Sections/Introduction} % deleted other \input's
\cite{6691866}
\bibliographystyle{ieeetr}
\bibliography{References_ZAIN}
%\input{Sections/Thesis}
\end{document}
sample file for introduction where I have to add citation.
\chapter{\textbf{INTRODUCTION}}
\section{Background}
Channel Modeling is a vast concept. It can be used in many communication systems\cite{test1}.
biblatexandbiberwould be a first answer. – HATEthePLOT Feb 13 '16 at 16:09jabrefis a nice simple software to do this. Or if you use something likecitavi, use it to export a bibtex-file (.bib). After you have this, load a bibliography package into your preamble (like\usepackage{biblatex}). There are several other likenatbiborjurabib-- you must decide yourself what you want to use and how to set it up. – HATEthePLOT Feb 13 '16 at 16:22miller1999coal, something where you can more easy spot typos. Make the change in your tex-file as well as your bib-database. – Johannes_B Feb 14 '16 at 10:30???. Please see that we do not have the files you\inputed ... So your given mwe was not helpful for us. Please follow the comment of Johannes_B. – Mensch Feb 14 '16 at 13:27_? – percusse Feb 16 '16 at 10:39\usepackage{filecontents} \begin{filecontents}{testbib.bib} @Book{test1, author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander}, title = {The LaTeX Companion}, publisher = {Addison-Wesley}, location = {Reading, Mass.}, year = {1994}, } \end{filecontents}Note that now the bib file name istestbib.biband you need to cite\cite{test1}– percusse Feb 16 '16 at 12:02biblatexfor example, and the issue doesn't seem to be related to MikTeX as such. Note that the bibfile you provide code for in the question is calledtestbib.bib, but with\bibliography{References_ZAIN}you later requestReferences_ZAIN.bib... – moewe Feb 16 '16 at 17:56.texand a.bibfile) so we can see what exactly you are trying. Currently your question contains only fragments of code with no indication what how exactly you are using them. Read I've just been asked to write a minimal example, what is that? and How to write a MWEB (Minimal working example with Bibliography)? for that. – moewe Feb 17 '16 at 08:52