[Tex/LaTex] How to change the bibliography style of this template to IEEE

biblatexbibliographiesbibtexieee-styleieeetran

I am using the following thesis template. I need to change the reference style to IEEE style. This is the script that runs with the reference style that I need to change:

\documentclass[a4paper,twoside]{ociamthesis}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[LAE,T1]{fontenc}

%%%%% BIBLIOGRAPHY SETUP

\usepackage[style=numeric, sorting=none, backend=bibtex, doi=false, isbn=false]{biblatex}
\addbibresource{references}

\newcommand*{\bibtitle}{References}

% This makes the bibliography left-aligned (not 'justified') and slightly smaller font.
\renewcommand*{\bibfont}{\raggedright\small}


\title{Test Title}

\begin{document}
\chapter{First Chapter}
\section{First Section}
I cite this~\cite{preece1994human}


\setlength{\baselineskip}{0pt} % JEM: Single-space References

{\renewcommand*\MakeUppercase[1]{#1}%
    \printbibliography[heading=bibintoc,title={\bibtitle}]}

\end{document}

In order to change the style, Iremoved the follwoing two lines from the above script:

\usepackage[style=numeric, sorting=none, backend=bibtex, doi=false, isbn=false]{biblatex}
    \addbibresource{references}

and replaced them with this:

\bibliographystyle{IEEEtran}
\bibliography{references}

But I get the following errors:

line 18: \bibfont undefined. \renewcommand*{\bibfont}
line 32: Undefined control sequence. \printbibliography
: No file Oxford_Thesis.bbl.
line 26: Citation `preece1994human' on page 1 undefined
: There were undefined references.

How can I make the above template script to use IEEE reference style. Note that I placed the IEEE required .sty and .bst files before I compile, still getting the errors.

EDIT:

To clarify why adding style=ieee does not give the desired output here is some clarification:

If I have this bibliography entry:

@misc{smith09,
    author = {Smith, James},
    title = {Obama inaugurated as President},
    date = {2009},
    note = {accessed Jun. 12, 2009},
    url = {https://www.cnn.compolitics},
}

According to IEEE (check section P Websites), it should appear like this (note the double quotations in the title of the website):

1 J. Smith, “Obama inaugurated as president,” accessed Jun. 12,
2009. [Online]. Available: https://www.cnn.compolitics

The above output is what I get if I use IEEEtran in the Latex script. But, in the thesis template, the same bibliography entry appear like this in the references part (with italic and no quotations mark in the title):

J. Smith, Obama inaugurated as president, accessed Jun. 12, 2009,
2009. [Online]. Available: https://www.cnn.compolitics.

If I use @online in the entry instead of @misc, it removes the italic from the title, but does not add quotations marks, and it appears like:

J. Smith. (2009). Obama inaugurated as president. accessed Jun. 12,
2009, [Online]. Available: https://www.cnn.compolitics.

How can I make the reference using the thesis template appear to the same way in the IEEEtran (i.e. the website title is non-italic and with quotations)?

Best Answer

You can have the specifications of the IEEE bibliography style with biblatex, simply using

\usepackage[style=ieee]{biblatex}

in the place of [style=numeric], and using the bib extension in \addbibresource{references.bib} (contrary to the bibtex command bibliography{references}), as @Mico pointed in his comment.

Also, biblatex does not use .bst files, but .bbx files for the bibliography styles, .cbx files for the citation styles and .lbx files for language-dependent strings. You can find more explanations in this answer pointed at by @moewe