[Tex/LaTex] Error with BiBTeX when compiling

bibtexnatbib

I have some issues using BibTeX for my bibliography. LaTeX keeps having error about this undefined control sequence:

! Undefined control sequence.<write> ...subitem}{\@mcitecorrectmaxwidthsubitem} \end{mcitethebibliography}

\end{mcitethebibliography}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I'm trying to use the achemso package for my bibliography style, but I don't think that's the problem since I have the same using plain or chicago… I'm using the natbib package as indicated for achemso. Note that when I compile without BibTeX, everything's running fine actually.

I'm using JabRef and TeXMaker either on mac (TeXLive) on Windows (MiKTeX).

Thank you very much indeed!

EDIT : Here's my preamble :
Indeed, i should have done that since the very beginning…
Here's a part of my document :

\documentclass[12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[greek,francais]{babel}
\usepackage[T1]{fontenc}
\usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{siunitx}
\usepackage{etex}
\usepackage{m-pictex,m-ch-en}
\usepackage{float}
\usepackage{setspace}
\usepackage{rsc}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{pdfpages}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=blue,citecolor=blue}
\usepackage[numbers]{natbib}

\begin{document}
\include{partie_1}
\bibliographystyle{achemso}
\bibliography{biblio}
\end{document}

Note that in my "partie_1" document, i don't even use

\cite{...}

Best Answer

There is some problem with using achemso when you do not have any citations. If I run

\begin{document}

\bibliographystyle{achemso}
\bibliography{library.bib}
\end{document}

I get an error. But running

\begin{document}

\bibliographystyle{plainnat}
\bibliography{library.bib}
\end{document}

or

\begin{document}
\cite{somebody1990}
\bibliographystyle{achemso}
\bibliography{library.bib}
\end{document}

works fine.

So, if you don't have any citations, delete the bibliography or change the bibstyle

Related Question