This question already has an answer here:

So I have the following bibitem

\bibitem[Finkelstein(2016)]{2016PASA...33...37F} Finkelstein, S.~L.\ 2016, \pasa, 33, e037 

That causes texshop to choke -- but only on my desktop Mac. Its fine on my laptop -- which both have the same version of TeXShop installed?!

On the desktop I get the following error ... and I know it doesn't like


because if I change it to \apj it works fine. Anyone have any idea? TeXShop says 'unknown control sequence' for that bib line.

marked as duplicate by user36296, CarLaTeX, Stefan Pinnow, Andrew, Mico bibliographies Apr 26 '17 at 0:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Do you have the same distribution installed? TeXshop is just the IDE. – Werner Apr 25 '17 at 20:10
  • 1
    Without more information it's impossible to tell. What's certain is that this has nothing whatsoever to do with TeXShop which is just an editor. Some package or .bst file must have defined \pasa and you have that in your laptop but not on your desktop. As @Werner suggests perhaps this is to do with having different years of MacTeX although I suspect it's more likely because you have different local texmf folders on each machine. Is the \bibitem generated by bibtex or is it manually created? – Alan Munn Apr 25 '17 at 20:15
  • In TeX Live there is only one .bst file that defines the macro \pasa: the mnras.bst file. Assuming you have MacTeX installed on both machines, this should be available. Is this the .bst file you are using, or are you using a modified version of it? – Alan Munn Apr 25 '17 at 20:28
  • It is manually created (from ads really)... I updated my distribution, (tlmgr) but I guess that must be it. Something in /usr/local/texlive/2016 must be different... I know its not the bibitem since a simple change from \pasa to \apj fixes it (but then includes the incorrect journal). – earnric Apr 25 '17 at 22:46

I found the problem...

I had an older copy (from 2012) of emulateapj.cls in my distribution. I updated to this one which includes the definition for \pasa:


Thanks all for pointing me in the right direction.

Not the answer you're looking for? Browse other questions tagged or ask your own question.