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)?
style=numeric(which is the default, b.t.w.) withstyle=ieee. Biblatex doesn't use .bst files. – Bernard Feb 24 '20 at 21:29\addbibresource{references}with\addbibresource{references.bib}. – Mico Feb 24 '20 at 22:07biblatexdoes not use.bstfiles' explanation). – moewe Feb 25 '20 at 21:06biblatex-ieeedoes not produce the output the IEEE wants, open an issue at https://github.com/josephwright/biblatex-ieee/issues. Include a short (minimal) example (one that uses a standard class likearticleand only loads the minimum number of packages required to see the output). – moewe Feb 26 '20 at 05:44