\documentclass{article}
\usepackage{natbib}
\begin{document}
Here is Donald Knuth's website: \cite{knuthwebsite}.
\medskip
\bibliography{ref}
\end{document}
Here is the ref.bib file:
@misc{knuthwebsite,
author = "Donald Knuth",
title = "Knuth: Computers and Typesetting",
url = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html"
}
I make in the terminal (debian) with:
$ pdflatex -synctex=1 -interaction=nonstopmode doc.tex
These are the warnings that I am getting:
Package natbib Warning: Citation `knuthwebsite' on page 1 undefined on input li
ne 6.
No file doc.bbl.
Package natbib Warning: There were undefined citations.
Can you recommend what could I can do to debug this? I'm using texlive 2023.