I'm trying to write a résumé using modern CV. The problems I encouter are strangely similar to those tackled here. I tried the solution suggested there, to no avail, hence this post. Here is what I am trying to compile :
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\setlength{\hintscolumnwidth}{2cm}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
\usepackage{helvet}
\usepackage[french]{babel}
\name{Pierre}{Gibberish}
\phone{0000000000}
\email{abcd@mail.com}
\begin{document}
\makecvtitle
\end{document}
The warnings I got when trying to compile are the following :
- you have requested package modercvheadii but the package provides
modercvheadii - you have requested package modercvbodyi but the package provides
modercvbodyi - you have requested package modercvfooti but the package provides
modercvfooti - Underfull \hbox (badness 10000) in paragraph at lines 15–15
- Font shape U/fontawesometwo/m/sl' undefined using
U/fontawesometwo/m/n' instead on input line 17. - Some font shapes were not available, defaults substituted.
I tried both \maketitle & \makecvtitle they both showed the same error. If I omit the \maketitle then it runs & only a pdf with whatever I put after is produced.
I suspect that this has to do with special icons like mobile or email icons on the address lines (which were the problem in the post I linked above) but, as I said, the fix doesn't seem to work.
I'm using Texmaker with most updated Miktex. Can anybody please help?
Best Answer
Compile the file with XeLaTeX. It runs smoothely. With pdflatex I get the same errors as you.
edit:// Version 2.0.0 of the
moderncv
package on github provides several templates. Theclassic
template uses a different iconset as can be seen in the *.sty file (cf. here)The
casual
Theme usesIn the project's Changelog you can note the following:
It is my guess that the 'fallback' method as described in 1.5.1 ceased working with the new version. Therefore the necessity to use
XeLatex
explicitly, since no fallback loads the old symbols that are compatible withpdflatex