Using the elegantbook template, a minimum version of my document looks like this:
\RequirePackage{fix-cm}
\documentclass[bibend=bibtex, lang=en, onecolumn, a4, 12pt]{elegantbook}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{setspace}
\doublespacing
\usepackage{tocloft}
\usepackage{biblatex}
%\usepackage{parskip}
\addbibresource{reference.bib}
\addtolength{\cftchapnumwidth}{40pt}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Introduction}
Blah blah blah \cite{en1}
\printbibliography[heading=bibintoc, title=\ebibname]
\end{document}
But if I change the bibliography sort technique via:
\usepackage[sorting=none]{biblatex}
I get the following error:
Option clash for package biblatex. \addbibresource
Doesn't seem to matter where I put the sorting option (in addbibresource for example), it won't work. But the documentation says this should work - where am I wrong here?
ps. This is the canonical way of doing bibliographies using the elegantbook template. I can't seem to do it using \bibliography etcetera.