i have a references.bib file with the references i need, i am using the following commands:
\documentclass[a4paper]{article}
% this in the preamble
\begin{filecontents}{references.bib}
@online{knuthwebsite,
author = "Donald Knuth",
title = "Knuth: Computers and Typesetting",
url = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
date = "2016-09-01",
keywords = "latex,knuth"
}
@inbook{knuth-fa,
author = "Donald E. Knuth",
title = "Fundamental Algorithms",
publisher = "Addison-Wesley",
year = "1973",
chapter = "1.2",
keywords = "knuth,programming"
}
\end{filecontents}
\usepackage[style=authoryear,sorting=none]{biblatex}
\addbibresource{references.bib}
\begin{document}
...
\nocite{*}
\bibstyle{numeric}
\printbibliography
\end{document}
The code is running without errors, but no references show up. The format in references are correct. What is going wrong?
doc.texyou want to runpdflatex doc; biber doc; pdflatex doc ; pdflatex docbut texmaker probably has a menu option to do that for you, but I don't use miktex or texmaker so can not give details, but a texmaker user will no doubt answer soon. – David Carlisle Jun 11 '21 at 20:46\bibstyle{numeric}. Withbiblatexthe bibliography and citation styles are specified at loading-time in\usepackage[<options>]{biblatex}.style=authoryear,sorting=noneis a combination that is probably cause confusion to your readers. Either just usestyle=authoryear,and letbiblatexuse the default author-year-title sorting for that style or switch to a numeric style withstyle=numeric, sorting=none,. – moewe Jun 12 '21 at 06:47