% bibliography
\RequirePackage[backend=bibtex,bibencoding=utf8]{biblatex}
%\ExecuteBibliographyOptions{backref=false,backrefstyle=three+,url=true,urldate=comp,abbreviate=false,maxnames=20}
\DeclareBibliographyCategory{cited}
\let\defaultcite\cite\renewcommand*\cite[2][]{\addtocategory{cited}{#2}\defaultcite[#1]{#2}}
\let\defaulttextcite\textcite\renewcommand*\textcite[2][]{\addtocategory{cited}{#2}\defaulttextcite[#1]{#2}}
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
\AfterPackage{biblatex}{
\PreventPackageFromLoading[\errmessage{You tried to load the cite package that is not compatible with biblatex.}]{cite}
}`here
\documentclass{scrbook}
\usepackage[hidelinks]{hyperref}
\newcommand\bcor{12mm} % <= Bindungskorrektur für Druckversion
\usepackage{osm-thesis}
\usepackage{longtable}
\usepackage{pgfplots}
\begin{document}
\selectlanguage{english}
\pagenumbering{roman}
\include{content/titlepage}
\ifisbook\pagestyle{plain}\cleardoubleemptypage \include{content/disclaimer}\fi
\ifisbook\cleardoubleemptypage\fi\include{content/abstract}
\tableofcontents
\pagenumbering{arabic}
\listoftables
\listoffigures
\pagestyle{headings}
\include{content/chapter1}
\appendix\include{content/appendix} % example
\onecolumn{
\ifisbook\cleardoubleemptypage\fi
\phantomsection\addcontentsline{toc}{chapter}{\refname}
\printbibliography[category=cited, title={References}]}
\end{document}
I am using the document class scrbook and I found that my references are randomly called in the final compiled pdf even I add them and called them in order in the text. How to make show them incrementally from [1] to [150]?
My text: e.g, (....bring societies closer~\cite{fb})
My .bib file:
@misc{fb,
author = {Facebook Inc.},
title = {{Facebook Company Info}},
howpublished = "\url{https://about.fb.com/company-info/}",
year = {2021},
note = "[Online; accessed 21-Jan-2021]"
}
osm-thesiscome from? I'm assumingosm-thesisis loadingbiblatex. I'm quite surebiblatexhas options to number the bibliography. – daleif Mar 01 '22 at 12:14\printbibliography[implies that you are using biblatex (despite the fact that you tagged this bibtex) so you will have specified the bibliography style using boblatex not\bibliographystyle(which is for bibtex) but we have still not seen any relevant code. – David Carlisle Mar 01 '22 at 12:23\usepackage{osm-thesis}(which presumably is where teh biblatex settings are that you want to change) this will not include anything\include{content/chapter1}and neither will\include{content/titlepage}so there is no\citecommand in the document so nothing to test. – David Carlisle Mar 01 '22 at 12:54\RequirePackage[backend=bibtex,bibencoding=utf8]{biblatex}into\RequirePackage[backend=bibtex,bibencoding=utf8,sorting=none]{biblatex}– Ulrike Fischer Mar 01 '22 at 13:35