I am using JabRef to create the bibliography. I added all the entries, generated the required key for each entry and saved the entries in a file named refs.bib. I want to add the references/bibliography I created in my document, so I used the following commands:
\begin{thebibliography}{1}
\bibliography{refs.bib}
\end{thebibliography}
When I compile the code, I get empty pages despite refs.bib contains data.
Please let me know how to correctly use the JabRef file in LaTeX.
Note: the refs.bib file is located in the same directory of the LaTeX document
\citeinstructions in the main body of your tex file? If so, first delete the directives\begin{thebibliography}{1}and\end{thebibliography}. Second, run the compilation sequence latex-bibtex-latex-latex on your tex file. Assuming you have no errors in the bib file and the\citeinstructions, this compilation sequence will generate the citation call-outs as well as the formatted bibliography itself. I've noticed you've set thebiblatextag: Is the biblatex package loaded in the preamble of the tex file? – Mico Aug 04 '16 at 09:08\nocite{*}to cite everything in your.bibfile at once (nice for testing). Since bibtex generates a\begin{thebibliohraphy}{...} .... \end{thebibliography}structure in an external file, you basically have nestedthebibliographyenvironments, which does not make any sense. – daleif Aug 04 '16 at 09:18biblatex, and since you have not provided a full minimal example we cannot verify that you are actually usingbiblatex. If you are usingbiblatexthen\bibliography{refs.bib}is not the recommended syntax (not use ifbiblatexeven supports it. Please update your question to have a full minimal example so we can see the document class and preamble. – daleif Aug 04 '16 at 09:29thebibliography, traditional BibTeX,biblatex). Have a look at an introduction to bibliographies in LaTeX (e.g. http://www.dickimaw-books.com/latex/thesis/html/citations.html, https://de.sharelatex.com/learn/Bibliography_management_in_LaTeX). Note, however, that\bibliography{refs.bib}is always wrong, the command\bibliographyexpects the file name without extension:\bibliography{refs}would be correct. – moewe Aug 05 '16 at 06:36