1

When I use sort&compress, everything works fine:

\usepackage[sort&compress]{natbib}
% ...
\bibliographystyle{unsrt}
\bibliography{refs}

I get the following error only when I include round in my natbib options:

\usepackage[sort&compress,round]{natbib}
% ...
\bibliographystyle{unsrt}
\bibliography{refs}

natbib Error: Bibliography not compatible with author-year citations

Does anyone know why this is? I've tried cleaning out temporary files and making from scratch.

  • Well, quite apart from the error you should be using unsrtnat here (or another natbib style). – Joseph Wright Aug 3 '12 at 16:39
  • Thanks-- unfortunately, doesn't change the error. Isn't it strange? – user Aug 3 '12 at 17:17
  • minimal complete example please (including bib file that you can add on top using filecontents environment) – Frank Mittelbach Aug 4 '12 at 9:44
2

The solution was to specify that the in-text citations should be numeric. I had (incorrectly) assumed that this would be default for sort&compress:

\usepackage[numbers,sort&compress,round]{natbib}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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