guarda io ho aggiunto come mi hai suggerito:
`\documentclass[11pt,a4paper]{moderncv}
\usepackage[italian]{babel}
\usepackage{charter}
\usepackage[scaled]{helvet}
% moderncv themes
\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
%\moderncvtheme[green]{classic} % idem
\renewcommand*{\titlefont}{\Large\sffamily\mdseries\slshape}
\makeatletter
\AtBeginDocument{\renewcommand*{\maketitle}{%
{%
\ifthenelse{\isundefined{\@photo}}%
{}%
{{\color{firstnamecolor}\framebox{\includegraphics[height=\@photoheight]{\@photo}}}}%
\hfil\hskip5pt% \raggedleft{\titlestyle{\@title}\hfill\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}}\\[-.35em]}%
{\color{firstnamecolor}\rule{\textwidth}{.25ex}\\[2.5em]}%
% optional quote
\ifthenelse{\isundefined{\@quote}}%
{}%
{\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}%
}%
}
\makeatother
% character encoding
\usepackage[utf8]{inputenc} % replace by the encoding you are using
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\recomputelengths % required when changes are made to page layout lengths
`
e questo è il log:
`(“C:\Programmi\MiKTeX 2.6\tex\latex\00miktex\bblopts.cfg”
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
(“C:\Programmi\MiKTeX 2.6\tex\generic\babel\italian.ldf”
Language: italian 2005/11/17 v1.2r Italian support from the babel system
(“C:\Programmi\MiKTeX 2.6\tex\generic\babel\babel.def”
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count92
\U@D=\dimen108
)
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `Italian'
(babel) I will use the patterns loaded for \language=0 instead.
\l@italian = a dialect from \language0
Package babel Info: Making ” an active character on input line 91.
)) (“C:\Programmi\MiKTeX 2.6\tex\latex\psnfss\charter.sty”
Package: charter 2005/04/12 PSNFSS-v9.2a (P.Dyballa)
)
(“C:\Programmi\MiKTeX 2.6\tex\latex\psnfss\helvet.sty”
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
))
Runaway argument?
{\renewcommand *{\maketitle }{{\ifthenelse {\isundefined {\@photo }}{\ETC.
! File ended while scanning use of \g@addto@macro.
\par
<*> E:/università/curriculum/template_en.tex
?
*
(Please type a command or say `\end')
*\end
*\end
! TeX capacity exceeded, sorry [input stack size=5000].
\end #1->\csname end#1
\endcsname \@checkend {#1}\expandafter \endgroup \if@e…
<*> \end
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
4533 strings out of 95295
59323 string characters out of 1184977
130477 words of memory out of 1134177
7569 multiletter control sequences out of 60000
4966 words of font info for 17 fonts, out of 1000000 for 2000
14 hyphenation exceptions out of 8191
5000i,0n,5000p,819b,85s stack positions out of 5000i,500n,10000p,200000b,32768s
! ==> Fatal error occurred, no output PDF file produced!`
eppure prima di quest’ultima modifica l’output era creato con successo! senza titolo ma lo creava!