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.

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

1 Answer 1

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}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .