3

I am using the ACM template to write my article (i.e. \documentclass[sigplan,screen]{acmart}) and I am having trouble with the bibliography.

If I use the unsrt bibliography style:

%...

\bibliographystyle{unsrt}
\bibliography{bibli}

\end{document}

Then my citations appear in order of apparition in the text on the last page and are numbered accordingly.

But when I use the ACM-Reference-Format,

%...

\bibliographystyle{ACM-Reference-Format}
\bibliography{bibli}

\end{document}

The citations are sorted according to the author's name on my last page. In my text, the first citation starts with number [11] (the first author I cite is the 11th in the alphabetical order).

How can I get the ACM-Reference-Format to sort the citations according to their order of appearance in my text?

I have tried fiddling with \citestyle{acmnumeric} \setcitestyle{numbers,nosort,compress}, without luck so far.

2
  • 2
    Please proofread your question. I'm thinking some of those \bibliography{...} commands should be \bibliographystyle{...}?
    – frabjous
    Mar 28, 2022 at 2:26
  • Maybe the ACM doesn't like bibliographies in order of appearance?
    – egreg
    Oct 2, 2022 at 9:17

1 Answer 1

1

Probably not the solution you are looking for, but you can use \bibliographystyle{unsrt} instead of ACM-Reference-Format.

\bibliographystyle{unsrt}
\bibliography{bibli}

You must log in to answer this question.

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