PDA

View Full Version : moderncv doesn't compile


Diaboflo
May 3rd, 2009, 05:59 PM
Hi,
I am trying to write my cv using the moderncv package. However I can't get it to compile. Has anyone had the same problem or knows what could be wrong? The package is definitely installed (to make sure I have the right version I installed the package from ctan).
I attached the output from compiling the example, can anyone help?
Thanks,
Flo

*****
***** LaTeX output:
***** cd "/home/flo"
***** latex -interaction=nonstopmode 'template_en.tex'
*****
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./template_en.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ukrainian, russian, bulgarian, loaded.
(/usr/share/texmf-texlive/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2006/09/09 v0.5 modern curriculum vitae document class

(/usr/share/texmf-texlive/tex/latex/base/size11.clo)
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def)
(/usr/share/texmf-texlive/tex/latex/graphics/dvipsnam.def))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/etc/texmf/tex/latex/config/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref) because \thepage is undefined.

)
*hyperref using driver hdvips*
(/usr/share/texmf-texlive/tex/latex/hyperref/hdvips.def
(/usr/share/texmf-texlive/tex/latex/hyperref/pdfmark.def))
(/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texmf-texlive/tex/latex/moderncv/moderncvcompatibility.sty)
(/usr/share/texmf-texlive/tex/latex/base/omscmr.fd))
(/usr/share/texmf/tex/latex/lm/lmodern.sty)
! Undefined control sequence.
l.12 \moderncvtheme
[blue]{casual} % optional argument are 'b...


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.12 \moderncvtheme[
blue]{casual} % optional argument are 'b...

(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg))

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.28 \address{street and number}{p
ostcode city} % optional, remove the li...

! Undefined control sequence.
l.29 \mobile
{mobile (optional)} % optional, remove the li...

(/usr/share/texmf-texlive/tex/latex/marvosym/umvs.fd) (./template_en.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./template_en.out)
(./template_en.out)
(/usr/share/texmf-texlive/tex/latex/moderncv/moderncvstylecasual.sty
(/usr/share/texmf/tex/latex/lm/t1lmss.fd)) <picture.eps>
! Extra alignment tab has been changed to \cr.
<template> \@endpbox \endtemplate

l.59 \subsection{Miscellaneous}


LaTeX Font Warning: Font shape `OMS/lmss/m/sl' undefined
(Font) using `OMS/cmsy/m/n' instead
(Font) for symbol `textbullet' on input line 72.

[1]

LaTeX Font Warning: Font shape `OMS/lmss/m/n' undefined
(Font) using `OMS/cmsy/m/n' instead
(Font) for symbol `textbullet' on input line 80.


Overfull \hbox (32.242pt too wide) in paragraph at lines 82--83
[]|[]\T1/lmss/m/n/10.95 +]Item

Overfull \hbox (23.72511pt too wide) in paragraph at lines 85--86
[]|[]\T1/lmss/m/n/10.95 ]Item

Overfull \hbox (23.72511pt too wide) in paragraph at lines 86--87
[]|[]\T1/lmss/m/n/10.95 ]Item

Overfull \hbox (23.72511pt too wide) in paragraph at lines 87--88
[]|[]\T1/lmss/m/n/10.95 ]Item
No file template_en.bbl.
[2] (./template_en.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

)
(see the transcript file for additional information)
Output written on template_en.dvi (2 pages, 12072 bytes).
Transcript written on template_en.log.

Stefan_K
May 7th, 2009, 02:29 PM
Hi,

consider to update your moderncv package. You are using v0.5 2006/09/09, the current version is v0.7 2008/06/17.

Stefan


--
TeXblog.net (http://texblog.net)

samden
May 16th, 2009, 12:23 AM
I've had some problems with moderncv too. In the end I downloaded the latest version I could find and put it directly in the directory where I was writing my cv.

Note that the older version wanted you to define a \moderncvstyle, the new one wants \moderncvtheme. There are a few differences between versions. Check the template files you are using were actually obtained from the same place as the moderncv style files you downloaded, to ensure they are actually compatible.

The version in Texlive seems rather old, even in the Jaunty repos. I presume this will be updated at some point.

nemarona
September 24th, 2010, 10:58 AM
Check this:

http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-07/msg00418.html