Generalmoderncv error: Undefined control sequence \moderncvtheme

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
elaich
Posts: 2
Joined: Thu Jan 05, 2012 3:33 pm

moderncv error: Undefined control sequence \moderncvtheme

Post by elaich »

Hi everyone,

I was trying to make a CV using the "lovely" moderncv class, when i run:

Code: Select all

$ latex moncv.tex 
I have this first error.

Code: Select all

! Undefined control sequence.
l.3 \moderncvtheme
                  [blue]{casual}
I think i have the class moderncv since I saw this in the output too:

Code: Select all

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./moncv.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, 
turkish, ukenglish, ukrainian, loaded.
(/usr/share/texmf/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2006/09/09 v0.5 modern curriculum vitae document class
what should I do ?
thanks.
Last edited by elaich on Thu Jan 26, 2012 5:16 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

moderncv error: Undefined control sequence \moderncvtheme

Post by shadgrind »

elaich wrote:what should I do ?
Upgrade your LaTeX system. :) Your versions of LaTeX2e and moderncv are old. I'm using TeX Live 2011, which includes version 0.12 of the moderncv package, and your CV file compiled fine (using pdflatex, not latex).
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
elaich
Posts: 2
Joined: Thu Jan 05, 2012 3:33 pm

Re: moderncv Class issue

Post by elaich »

Thank you, after the update everything goes well.
Post Reply