Anyone know why I am getting an undefined control sequence error when trying to use \defcitealias in natbib, even though natbib otherwise seems to be working?
\documentclass{article}
\usepackage{natbib}
\defcitealias{foo}{bar}
\begin{document}
\citetalias{foo}
\citet{handk}
\bibliographystyle{chicago}
\bibliography{all.bib}
\end{document}
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./Untitled-2.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo))
(/Users/firstnamelastname/Library/texmf/tex/latex/natbib.sty)
./Untitled-2.tex:4: Undefined control sequence.
l.4 \defcitealias
{foo}{bar}
?

\bibliography{all}, not\bibliography{all.bib}. – Mico Feb 01 '18 at 21:37natbib.styfile? Any chance you could update your TeX distribution from TeXLive2015 to TeXLive2017? – Mico Feb 01 '18 at 21:38/Users/firstnamelastname/Library/texmf/tex/latex/natbib.styrename it to something else and try again. – Ulrike Fischer Feb 01 '18 at 22:50