4

Minimal case

% http://tex.stackexchange.com/a/210664/13173 Do not have inputenc, since it is loaded with europecv package so defininig utf8 here
\documentclass[utf8,helvetica,narrow]{europecv}
\usepackage{graphicx} % Required to draw the logo
\usepackage[final]{pdfpages}
\usepackage[colorlinks,allcolors=blue]{hyperref}
\usepackage[right=2.5cm]{geometry} % language table impossible otherwise


% Define personal data
\ecvname{Masi} % No middle name

\begin{document}
Lorem.
\end{document}

I get a complaint about package problem. I got this kind of error last time when I had problem with a package that contained the other package which I tried to include:

(/usr/local/texlive/2014/texmf-dist/tex/latex/europecv/europecv.cls
Document Class: europecv 2006/04/24 (beta+Unicode TeX detection) European curri
culum vitae class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/local/texlive/2014/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty))
(/usr/local/texlive/2014/texmf-dist/tex/latex/europecv/ecven.def)
./cv_masi_2.tex:3: Undefined control sequence.
\europecv.cls-h@@k ...pecv class.}}\inputencoding 
                                                  {utf8x}\let \@unprocessedo...
l.3 \usepackage
               {graphicx} % Required to draw the logo

./cv_masi_2.tex:3: LaTeX Error: Missing \begin{document}.

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

l.3 \usepackage

I just updated my packages by tlmgr update --all --self but the problem remains. I am in OSX Yosemite which may be cause the problem, since I have not changed by anything in the code since last time. Possible changes in packages of MacTeX may also cause the problem.

Do you see any dependency problems in the minimal case?

1 Answers1

10

Presumably (you did not say) you are using lualatex or xelatex. These engines do not work with inputenc methods. The class seems to make assumptions about use of inputenc so it is only written for latex or pdflatex.

David Carlisle
  • 757,742