[Tex/LaTex] Error: Undefined control sequence using \cite, \textcite, \parencite


I tried the answer in How to cite a page number in-text in my work, but there is an error:

Undefined control sequence

The details:

The compiler is having trouble understanding a command you have used. Check that the command is spelled correctly. If the command is part of a package, make sure you have included the package in your preamble using \usepackage{...}.

enter image description here


02background.tex file:

this is cite \cite[150]{gaver1986auditory}\\
This book is done by \textcite[150]{gaver1986auditory}\\
ABC book is done \parencite[150]{gaver1986auditory}\\

main.tex file

\documentclass[12pt,oneside]{book}  % Remove draft option to show figures (for final draft), otherwise keep for faster production

\usepackage{uorthesis}  % Loads the LaTeX style package

% style=authoryear, 
% citestyle=authoryear, 

% for the purpose to change "paper title" to 'paper title' in reference
% \usepackage[style=english]{csquotes}
% for the purpose to change "paper title" to 'paper title' in reference



% for Quoting AuthorA (1999: 22), Part 2

% for Quoting AuthorA (1999: 22), Part 1

% for Quoting AuthorA (1999: 22), Part 1







uorthesis.sty file:

% This defines everything necessary for a thesis
% Master's/PhD at UoR (or anywhere else).
% Do what you will with this package
  [2018/01/18 v0.01 LaTeX package for UOR thesis]

\setlist{nosep} % Removes too much vertical spacing in lists
\usepackage{booktabs}           % makes tables look good
\usepackage{fancyhdr}           % For page number in the upper right (required) and other running headers(optional)
\usepackage{setspace}           % For double-spacing (required)
\usepackage{titlesec}           % For keeping chapter/chapter titles single-spaced
\usepackage{etoolbox}           % For the flag determining if front matter goes into the TOC
\usepackage{float}              % Helps float images to the top
% Define custom colors
\definecolor{darkblue}{rgb}{0, 0, 0.5}
\usepackage[colorlinks=true, allcolors=darkblue]{hyperref}           % Adds hyperlinks in the pdf
% \usepackage{csquotes}           % Makes quotes look good %cancel off for the single quote in referencing the journal title
\usepackage[font=small,labelfont={bf,sf}, textfont={sf}, justification=centering]{caption}

% Header formatting for regular pages

% Header formatting for chapter title pages

% Formatting of chapter and chapter titles: keep them single-spaced in the midst of double-spaced text

%% End of file `uorthesis.sty'.

reference.bib file:

  title={Auditory icons: Using sound in computer interfaces},
  author={Gaver, William W},
  journal={Human-computer interaction},
  publisher={Taylor \& Francis}

Best Answer

If you look at the error message carefully you can see that the exact command LaTeX complains about is \mknormrange. (Usually the offending command is the last in the first line of the error message.)

This means you are using an older version of biblatex that doesn't support that command. Replace




Note that Overleaf have just updated their systems to TeX live 2018, where \mknormrange is supported. So if you start a new project now or clone your project into a new one, the code with \mknormrange should work without error.