Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to make a CV using moderncv. I tried some example CV tex files, but got no pdf being produced, though there was no any error actually. So rather I tried a simple one like this:

\documentclass[11pt,a4paper]{moderncv}

%% ModernCV themes
\moderncvtheme[blue]{casual}  
%\moderncvstyle{casual}
%\moderncvcolor{blue}
\renewcommand{\familydefault}{\sfdefault}
\nopagenumbers{}

%% Character encoding
\usepackage[utf8]{inputenc}

%% Adjust the page margins
\usepackage[scale=0.75]{geometry}

%% Personal data
\firstname{Protik}
\familyname{Das}
\title{Resume}
\address{University of Dhaka}
%\mobile{+1~(234)~567~890}
\phone{01678-715530}
%\fax{+3~(456)~789~012}
\email{john@doe.com}
\homepage{www.johndoe.com}
\extrainfo{additional}
\photo[6pt][0.4pt]{pic}
\quote{Some quote (optional)}

%%------------------------------------------------------------------------------
%% Content
%%------------------------------------------------------------------------------
\begin{document}

\maketitle

\section{Education}

\end{document}

I got one badbox & other warning type while running this. These are:

badbox: Underfull \hbox (badness 10000) in paragraph at lines 36--36 warning: \footskip is too small (30.0pt): Make it at least 36.71997pt.

I tried both \maketitle & \makecvtitle they both showed the same error. If I omit the \maketitle then it runs & only a pdf with Education section is produced.

I'm using texmaker with most updated Miktex. Can anybody please help?

share|improve this question

closed as too localized by hpesoj626, Werner, percusse, Kurt, Speravir Feb 25 '13 at 23:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Your MWE compiles perfectly on my system (assuming your picture is named pic.jpg). You are probably missing a few required packages or use outdated ones. Update your system and provide use with the output of \listfiles if your problem isn't solved. –  Xavier Feb 24 '13 at 16:55
    
@Xavier, thanks for the info about \address. I was compiling with the version that shipped with the DVD TeXLive 2012 before I downloaded the newest. I believe that this problem is TL as can be seen from the self-answer. –  hpesoj626 Feb 24 '13 at 22:36

1 Answer 1

up vote 1 down vote accepted

It took nearly 24 hours to find the cause. But the solution is as simple it can be. Actually underfull was never the problem. The problem was hidden in the log file. No pdf was produced beacuse of the special icons like mobile or email icons on the address lines. One just have to run two simple commands in the command prompt & everythin will be alright in no time. Try these commands seperately & run the tex file again.

initexmf --mkmaps
initexmf --update-fndb

Happy texING!!! :D

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.