Re: Modificare allineamenti: errore?

#42646
Up
0
Down
::

Sono all’interno del file moderncvclssic.sty e questo è un estratto:

    \renewcommand*{\maketitle}{%
    % name and title
    \if@DEBUG\framebox{\fi
    \begin{minipage}{.425\textwidth}% prima era .525
    \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}%
    \ifthenelse{\isundefined{\@title}}%
    {}%
    {\\[1.25em]\titlestyle{\@title}}%
    \end{minipage}%
    \if@DEBUG}\fi
    \hfill%
    \if@DEBUG\framebox{\fi%
    % optional data
    \begin{minipage}{.325\textwidth}% prima era .225
    \raggedleft\addressfont\color{addresscolor}%
    \ifthenelse{\isundefined{\@addressstreet}}{}{%
    \addresssymbol~\@addressstreet%
    \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}%
    \\[.2em]}%
    \ifthenelse{\isundefined{\@mobile}}{}{\mobilesymbol~\@mobile\\[.2em]}%
    \ifthenelse{\isundefined{\@phone}}{}{\phonesymbol~\@phone\\[.2em]}%
    \ifthenelse{\isundefined{\@fax}}{}{\faxsymbol~\@fax\\[.2em]}%
    \ifthenelse{\isundefined{\@email}}{}{\emailsymbol~\emaillink{\@email}\\[.2em]}%
    \ifthenelse{\isundefined{\@extrainfo}}{}{\@extrainfo\\[.2em]}%
    \end{minipage}%

Quando compilo il mio Cv dal file .tex mi dà questo errore e non riesco a capire qual è il problema, dove può mancare una parentesi o qualcosa del gener…vi inserisco parte del file log:

`
(C:\Programmi\MiKTex\tex\latex\lm\t1lmss.fd
File: t1lmss.fd 2009/10/07 v1.5 Font defs for Latin Modern
)
\maketitlenamemaxwidth=\skip59
\maketitlenamefullwidth=\skip60

LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <34> not available
(Font) Font shape `T1/lmr/m/sc' tried instead on input line 113.

\maketitlenamewidth=\skip61
\maketitlepicturewidth=\skip62
\maketitledetailswidth=\skip63
)
Runaway argument?
{\if@DEBUG \framebox {\fi \begin {minipage}{.425\textwidth }\firstnamestyle
\ETC.
! File ended while scanning use of \@argdef.

\par
l.38 \begin{document}

I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

*geometry auto-detecting driver*
*geometry detected driver: pdftex*
——————– Geometry parameters
paper: a4paper
landscape: —
twocolumn: —
twoside: —
asymmetric: —
h-parts: 59.74988pt, 0.8\paperwidth , 59.74988pt
v-parts: 67.60269pt, 0.8\paperheight , 101.4041pt
hmarginratio: 1:1
vmarginratio: 2:3
lines: —
heightrounded: —
bindingoffset: 0.0pt
truedimen: —
includehead: —
includefoot: —
includemp: —
driver: pdftex
——————– Page layout dimensions and switches
\paperwidth 597.50787pt
\paperheight 845.04684pt
\textwidth 478.00812pt
\textheight 676.04005pt
\oddsidemargin -12.52011pt
\evensidemargin -12.52011pt
\topmargin -41.6673pt
\headheight 12.0pt
\headsep 25.0pt
\footskip 30.0pt
\marginparwidth 47.0pt
\marginparsep 6.0pt
\columnsep 10.0pt
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000

(1in=72.27pt, 1cm=28.45pt)
———————–
LaTeX Font Info: Try loading font information for OT1+lmr on input line 41.
(C:\Programmi\MiKTex\tex\latex\lm\ot1lmr.fd
File: ot1lmr.fd 2009/10/07 v1.5 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OML+lmm on input line 41.

(C:\Programmi\MiKTex\tex\latex\lm\omllmm.fd
File: omllmm.fd 2009/10/07 v1.5 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMS+lmsy on input line 41.

(C:\Programmi\MiKTex\tex\latex\lm\omslmsy.fd
File: omslmsy.fd 2009/10/07 v1.5 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMX+lmex on input line 41.

(C:\Programmi\MiKTex\tex\latex\lm\omxlmex.fd
File: omxlmex.fd 2009/10/07 v1.5 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10> on input line 41.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <7> on input line 41.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <5> on input line 41.
LaTeX Font Info: Font shape `T1/lmss/m/it' in size <10> not available
(Font) Font shape `T1/lmss/m/sl' tried instead on input line 42.

Underfull \hbox (badness 10000) in paragraph at lines 41–44

[]

Underfull \hbox (badness 10000) in paragraph at lines 45–49

[]

Underfull \hbox (badness 10000) in paragraph at lines 50–56

[]

LaTeX Font Info: Font shape `T1/lmss/m/it' in size <8> not available
(Font) Font shape `T1/lmss/m/sl' tried instead on input line 58.

Underfull \hbox (badness 10000) in paragraph at lines 57–61

[]

Underfull \hbox (badness 10000) in paragraph at lines 62–66

[]

Underfull \hbox (badness 10000) in paragraph at lines 67–71

[]

Overfull \hbox (1.66766pt too wide) in paragraph at lines 77–77
[]\T1/lmss/m/n/10 + []|
[]

Underfull \hbox (badness 10000) in paragraph at lines 74–78

[]

[1

{C:/Programmi/MiKTex/pdftex/config/pdftex.map}]
LaTeX Font Info: Try loading font information for U+mvs on input line 80.

(C:\Programmi\MiKTex\tex\latex\marvosym\umvs.fd)
Underfull \hbox (badness 10000) in paragraph at lines 79–83

[]

[2] (D:\GIAMPY\Vitae\CV_LaTeX\CV_Giampy_classic.aux) )
Here is how much of TeX's memory you used:
6061 strings out of 495302
86871 string characters out of 3182377
166680 words of memory out of 3000000
9125 multiletter control sequences out of 15000+200000
52721 words of font info for 39 fonts, out of 3000000 for 9000
14 hyphenation exceptions out of 8191
45i,12n,45p,339b,304s stack positions out of 5000i,500n,10000p,200000b,50000s
{C:/Programmi/MiKTex/font
s/enc/dvips/lm/lm-ec.enc}< C:/Programmi/MiKTex/fonts/type1/public/lm/lmss10.pfb>
Output written on CV_Giampy_classic.pdf (2 pages, 147318 bytes).
PDF statistics:
85 PDF objects out of 1000 (max. 8388607)
11 named destinations out of 1000 (max. 500000)
65 words of extra memory for PDF output out of 10000 (max. 10000000)
`

Cosa dire anche degli errori di font? Grazie.

Non vedo errori relativi ai font; sono solo avvisi di sostituzioni: il font lmss non ha il corsivo e LaTeX lo sostituisce con l’inclinato.

Esempio minimo compilabile, per favore.

Ciao
Enrico

Go to top