Re: Problemi di compilazione

#19214
Up
0
Down
::

Espongo il problema:

Ho un file .tex, doveci sono tutte le impostazioni del documento, in cui includo i vari capitoli.

Finora non avevo avuto problemi di compilazione. Ora, invece, includendo un particolare file (che prima compilava correttamente), si blocca, sempre nel solito punto, durante la compilazione.

Includendo un diverso file nel .tex delle impostazioni generali del documento riesce a compilare, anche se produce la stessa tipologia di warning (non trova le immagini .eps e i relativi riferimenti).

Inserisco il file di log che genera, magari qualcuno leggendolo risce a capire il problema.
`This is pdfTeX, Version 3.141592-1.40.3 (MiKTeX 2.6) (preloaded format=latex 2007.10.31) 23 NOV 2007 23:50
entering extended mode
**Tesi.tex
(Tesi.tex
LaTeX2e <2005/12/01>

! Missing number, treated as zero.

&
l.390 \label
{tab:report2}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Misplaced alignment tab character &.
&

l.390 \label
{tab:report2}
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.

! Missing number, treated as zero.

}
l.390 \label
{tab:report2}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).

}
l.390 \label
{tab:report2}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Misplaced alignment tab character &.
&]{\cmidrulewidth }{2-5}Totale Clienti&
&&\multicolumn {1}{r}{2}\\…
l.390 \label
{tab:report2}
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.

! Misplaced alignment tab character &.
…cmidrulewidth }{2-5}Totale Clienti&&
&\multicolumn {1}{r}{2}\\ …
l.390 \label
{tab:report2}`

È evidente che il problema sta alla riga 390 del file che TeX sta leggendo in quel momento. In una delle righe vedo uno strano “&]” che mi fa sospettare un errore nella scrittura del documento.

Inutile mandare un log infinito e tentare di compilarsi sempre lo stesso documento, che produrrà sempre lo stesso errore. Questo sta in quell’ambiente tabular, prova a copiarlo su un altro documento con lo stesso preambolo, dal quale però togli tutti i pacchetti che non abbiano a che fare con quel pezzo di testo. Vedrai che trovi l’errore. Secondo me è una graffa non chiusa da qualche parte.

Ciao
Enrico

Go to top