I'm Trying to use BibTeX in Texworks. My code is as follows:
\documentclass[12pt]{article}
\usepackage{natbib}
\title{Weekly Progress}
\author{author}
\date{\today}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{savesym}
\usepackage{arcs}
\usepackage{geometry}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{indentfirst}
\geometry{left=2cm,right=2cm,top=1cm,bottom=1cm}
\usepackage{graphicx}
\begin{document}
\maketitle
\begin{abstract}
blablabla
\end{abstract}
\bibliographystyle{plain}
\bibliography{reference}
\end{document}
and I create a file reference.bib:
@inproceedings{zhang2019gradient,
title={Why Gradient Clipping Accelerates Training: A Theoretical Justification for Adaptivity},
author={Zhang, Jingzhao and He, Tianxing and Sra, Suvrit and Jadbabaie, Ali},
booktitle={International Conference on Learning Representations},
year={2019}
}
For convenience I temporarily put both files at desktop. I follow the instruction in How to use BibTex with TexWorks? but now the reference part is empty.
Remark: 1. I run pdflatex+bibtex+pdflatex*2 all in the main file.
My bbl file does not contain the reference I want.
I don't have a blg file.
Question: Where am I going wrong?
\cite{zhang2019gradient}somewhere within the document, does the bibliography show up? – Vincent Apr 01 '20 at 03:28\citecommands) was identified in the comments. – Mico Apr 01 '20 at 04:11