The moderncv package included in dev-telive/texlive-latexextra-2007 is dated 2006/09/09. An announcement on comp.text.tex (see http://groups.google.co.uk/group/comp.text.tex/browse_thread/thread/6a4e0885b35ee734/bc74c986bf6c424e?hl=en&lnk=gst&q=moderncv#bc74c986bf6c424e ) indicates that a newer version was released and current version is date 2007-05-28 at http://tug.ctan.org/tex-archive/macros/latex/contrib/moderncv/ As a consequence the examples provided at CTAN do not compile cleanly and control sequences such as \moderncvtheme are not recognised (as they are called moderncvstyle in the older version thats currently pulled in by portage). Reproducible: Always Steps to Reproduce: 1. emerge dev-latex/texlive-latexextra 2. wget http://tug.ctan.org/get/macros/latex/contrib/moderncv/examples/template_en.tex 3. pdflatex template_en Actual Results: $ pdflatex 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, ukenglish, loaded. (/usr/share/texmf-dist/tex/latex/moderncv/moderncv.cls Document Class: moderncv 2006/09/09 v0.5 modern curriculum vitae document class (/usr/share/texmf-dist/tex/latex/base/size11.clo) (/usr/share/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/share/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/config/color.cfg) (/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def)) (/usr/share/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texmf-dist/tex/latex/base/t1enc.def)) (/usr/share/texmf-dist/tex/latex/marvosym/marvosym.sty) (/usr/share/texmf/tex/latex/html/url.sty) (/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf/tex/latex/config/hyperref.cfg) (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty) Package hyperref Warning: Values of option `pdfpagemode': (hyperref) * `UseNone' (hyperref) * `UseOutlines' (hyperref) * `UseThumbs' (hyperref) * `FullScreen' (hyperref) * `UseOC' (PDF 1.5) (hyperref) * `UseAttachments' (PDF 1.6) (hyperref) * An empty value disables the option. (hyperref) Unknown value `None' on input line 2238. Implicit mode ON; LaTeX internals redefined Package hyperref Warning: Option `pdfpagelabels' is turned off (hyperref) because \thepage is undefined. ) *hyperref using driver hpdftex* (/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def) (/usr/share/texmf-dist/tex/latex/tools/longtable.sty) (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg))) (/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (/usr/share/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty) (/usr/share/texmf-dist/tex/latex/base/omscmr.fd)) (/usr/share/texmf-dist/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-dist/tex/latex/base/inputenc.sty (/usr/share/texmf-dist/tex/latex/base/utf8.def (/usr/share/texmf-dist/tex/latex/base/t1enc.dfu) (/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu) (/usr/share/texmf-dist/tex/latex/base/omsenc.dfu))) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty) ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.26 \address{street and number}{p ostcode city} % optional, remove the li... ? ! Undefined control sequence. l.27 \mobile {mobile (optional)} % optional, remove the li... ? (/usr/share/texmf-dist/tex/latex/marvosym/umvs.fd) No file template_en.aux. (/usr/share/texmf-dist/tex/latex/lm/t1lmr.fd) (/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texmf-dist/tex/latex/oberdiek/refcount.sty)) (/usr/share/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty (/usr/share/texmf-dist/tex/latex/lm/t1lmss.fd)) ! LaTeX Error: File `picture' not found. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.42 \maketitle ? ! Extra alignment tab has been changed to \cr. <template> \@endpbox \endtemplate l.57 \subsection{Miscellaneous} ? Overfull \vbox (1.17517pt too high) has occurred while \output is active LaTeX Font Warning: Font shape `OMS/lmss/m/sl' undefined (Font) using `OMS/cmsy/m/n' instead (Font) for symbol `textbullet' on input line 70. [1{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] Overfull \hbox (32.242pt too wide) in paragraph at lines 81--82 []|[]\T1/lmss/m/n/10.95 +]Item Overfull \hbox (23.72511pt too wide) in paragraph at lines 84--85 []|[]\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 No file template_en.bbl. [2] (./template_en.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. ){/usr/share/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc} </var/cache/fonts/pk/ljf our/jknappen/ec/ecrm1095.600pk></usr/share/texmf-dist/fonts/type1/bluesky/cm/cm sy10.pfb></usr/share/texmf-dist/fonts/type1/public/lm/lmss10.pfb></usr/share/te xmf-dist/fonts/type1/public/lm/lmss12.pfb></usr/share/texmf-dist/fonts/type1/pu blic/lm/lmss17.pfb></usr/share/texmf-dist/fonts/type1/public/lm/lmssbx10.pfb></ usr/share/texmf-dist/fonts/type1/public/lm/lmsso10.pfb></usr/share/texmf-dist/f onts/type1/public/lm/lmsso9.pfb></usr/share/texmf-dist/fonts/type1/public/marvo sym/marvosym.pfb> Output written on template_en.pdf (2 pages, 129799 bytes). Transcript written on template_en.log. Expected Results: template_en.tex should compile cleanly (and does if the current versions of moderncv at CTAN are downloaded to the same directory as template_en.tex
This is upstream packaging, nothing will be changed about it. If you want an up-to-date moderncv.sty, put it in your local TeXMF tree.
(In reply to comment #1) > This is upstream packaging, nothing will be changed about it. If you want an > up-to-date moderncv.sty, put it in your local TeXMF tree. > Cool, not a problem, thats the work-around I've been using. Just thought that given the availability if the newer version it might be possible to incorporate a patch of sorts. Happy to wait.
(In reply to comment #2) > (In reply to comment #1) > > This is upstream packaging, nothing will be changed about it. If you want an > > up-to-date moderncv.sty, put it in your local TeXMF tree. > > > > Cool, not a problem, thats the work-around I've been using. Just thought that > given the availability if the newer version it might be possible to incorporate > a patch of sorts. Happy to wait. Wait for TeXLive 2008. :)