I am using a template provided by Wiley for one of their journals which has its own document class and everything else as per requirement. There are two issues I'm facing:
-
I cannot generate a bibliography using bibtex: The error is incompatible package \cite.
-
Even after moving files to local texmf directory and refreshing FNDB I get the bibliography style not found error.
I know why the incompatible \cite error occurs and as seen in my code i have not used \usepackage{cite}
anywhere. As for the second error, I have already stated that I have moved relevant .sty and .bts files to root and texmf directories.
How can I fix this?!
Here's my document preamble:
\documentclass{prop2015}% no class options needed by now
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{breqn}
\usepackage{hyperref}
\usepackage[backend=biber, style=prop]{biblatex}
%\bibliographystyle{prop}
\bibliography{bibliography.bib}
Best Answer
You have tagged this query with both
cite-package
andbiblatex
. Unfortunately for you, thecite
andbiblatex
packages are mutually incompatible.To use the
cite
package, you must also (a) provide a suitable\bibliographystyle
instruction and (b) run BibTeX. To use thebiblatex
package, you must (i) not load thecite
package, (ii) usebiber
rather than BibTeX, and (iii) replace the single instruction\bibliography{bibliography.bib}
with two instructions: insert\addbibresource{bibliography.bib}
in the preamble (after loading thebiblatex
package), and insert\printbibliography
in the document in the location where the formatted bibliography is supposed to be inserted.I'm not aware of the existence of a ready-made biblatex style called
prop
. Given your comment that you were "advised to use\bibliographystyle{prop}
and\bibliography{<databasefilename>}
, [a]nd then to run through bibtex," I will assume that you really do need to use thecite
package with BibTeX as the back-end, rather than thebiblatex
package with thebiber
back-end.If the good folks who provide the LaTeX document class file
prop2015.cls
also provide a bibliography style file calledprop.bst
, and if the raw bibliographic entries are contained in a file calledbibliography.bib
, you should thus proceed as follows.First, reorganize your document so that its structure resembles the following layout:
(Aside: Do please make a habit of not trying to load packages more than once.)
Second, once the document compiles without syntax errors, be sure to run LaTeX, BibTeX, and LaTeX twice more on the main tex file. Doing so will create (a) the formatted bibliography and (b) the numeric-style citation call-outs to the bib entries in the body of the document.