[Tex/LaTex] “Undefined control sequence” errors with moderncv (official template)

errorsmoderncv

When simply trying to compile the CTAN template.tex available here http://www.ctan.org/tex-archive/macros/latex/contrib/moderncv/examples
I receive the following errors after compiling:

 ! Undefined control sequence. \name
 ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help.
  etc ...

EDIT
Same problem with \social; \cvcolomn

As you can see on the website, the last update of the templates date back to 2013-04-23 08:14:47 . Since it is barely recent, I doubt that it is because of old content. Please note that I checked that package textlive-latex-extra was updated.

I have no idea why I got so much errors using some official templates.
Thank you in advance for your help.

Best Answer

\name{}{} is the new syntax; the old syntax was \firstname{} and \familyname{}; there are also some other changes, which you can read in the CHANGELOG file. You need to make sure that all your moderncv files are updated to 2013-04-23. Take into acount that the last update to CTAN was made when TeX Live2012 was already frozen, so perhaps the last update didn't make it to your system. You can either use the old interface, or manually install the updated versions (or perhaps try the pre-test TeX Live2013)

Related Question