# Undefined control sequence error with moderncv [closed]

When I use these commands to display a bibliography in a moderncv document I get an Undefined control sequence error.

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}


This is the error message:

! Undefined control sequence.
\ref@jnl #1->{\jnl@style
#1}
l.17 \newblock {\em \mnras
}, 370:529--558, August 2006.


The \mnras macro is defined in a style file aas_macros.sty that is imported in the preamble. The exactly same commands work well when I use the article document class. What could be going on?

## closed as unclear what you're asking by Mensch, Stefan Pinnow, user31729, Zarko, egregAug 21 '16 at 19:46

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• The code please! – user11232 Jan 17 '14 at 2:12
• It is going to be a bit difficult for people to figure this out unless you give them some relevant information. What's in the macros file, for example? Please give a Minimum (non-)Working Example people can play around with. This will enable people to help you more effectively. – cfr Jan 17 '14 at 2:12