Ciao Frenk…
Non so che dirti…occorrerebbe vedere il tuo preambolo….per capire che pacchetti hai caricato…e poi le figure le inserisce nell’ .eps finale??
Posto il codice del preambolo:
`
\documentclass[a4paper,12pt]{book}
\linespread{1.5}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx} %[dvips]
\usepackage[italian]{babel}
\usepackage{color, colortbl} %[dvips]
\usepackage{tabulary}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{xtab}
\usepackage{fancyhdr}
\usepackage{front-th}
\pagestyle{fancy}
\lhead{\nouppercase{\rightmark}}
\rhead{\nouppercase{\leftmark}}
\renewcommand{\chaptermark}[1]{%
\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhf{}
\fancyhead[LO]{\bfseries\rightmark} %
\fancyhead[RE]{\bfseries\leftmark} %
\fancyfoot[LE,RO]{\thepage}
\setlength{\headheight}{15pt}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0pt}
%
\fancypagestyle{plain}{%
\fancyhf{} % cancella tutti i campi di intestazione e pi\`e di pagina
\fancyfoot[R]{\thepage} % tranne la parte destra
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\hyphenation{
wa-re-hou-se
pros-pect
bu-si-ness
objects
}
%
\includeonly{%
IstitutoBancario,%
Progettazione,%
Glossario,%
Reporting,%
Riassunto,%
}
\newcommand{\DW}[1]{#1ata~warehouse}
\newcommand{\DM}[1]{#1ata~mart}
\newcommand{\BUR}{ BU~Retail}
\newcommand{\ret}{\emph{retail}}
\newcommand{\IB}{Istituto Bancario} %istituto per il quale viene svolto lo studio
\newcommand{\ib}[1]{#1stituto~bancario} %istituti in generale
\newcommand{\ci}{\emph{customer~insight}}
%COMANDI PER FATTI
\newcommand{\cli}{\textsf{Storico~Cliente}}
\newcommand{\fil}{\textsf{Storico~Filiale}}
\newcommand{\ges}{\textsf{Storico~Gestore}}
%COMANDI PER DIMENSIONI
\newcommand{\acli}{\textsf{Anagrafica~cliente}}
\newcommand{\ages}{\textsf{Anagrafica~gestore}}
\newcommand{\tem}{\textsf{Periodo}}
\newcommand{\uorg}{\textsf{Unit\`a~Organizzativa}}
\newcommand{\prd}{\textsf{Prodotto}}
\newcommand{\prdcli}{\textsf{ProdottiCliente}}
\newcommand{\seg}{\textsf{Segmento}}
\newcommand{\geo}{\textsf{Geografia}}
%COMANDI PER MISURE
\newcommand{\ncli}{\textsf{Numero~clienti}}
\newcommand{\irac}{\textsf{Importo~Raccolta}}
\newcommand{\iacc}{\textsf{Importo~accordato}}
\newcommand{\iusa}{\textsf{Importo~usato}}
%COMANDI PER LE TABELLE DEL DB
\newcommand{\agen}{\textsf{ANAGEN}}
\newcommand{\amkt}{\textsf{ANAMKT}}
\newcommand{\info}{\textsf{INFOCENTER}}
\newcommand{\fid}{\textsf{FIDGAR}}
\newcommand{\coge}{\textsf{CONGES}}
%COMANDI PER BO
\newcommand{\BO}{\textit{Business~Objects}}
\newcommand{\BOR}{\textsf{BusinessObjects}}
\newcommand{\DB}{database}
\newcommand{\SUP}{\textsf{Supervisor}}
\newcommand{\DES}{\textsf{Designer}}
\newcommand{\UNIV}{\textsf{Universo}}
%COMANDO PER INSERIRE UNA FIGURA
\newcommand{\figura}[2]{\begin{figure}[htbp]
\centering
\includegraphics[width=1\linewidth]{#1}
{\caption{\protect\small{#2}}
\label{#1}}
\end{figure}}
%
% Qui finisce il preambolo e comincia il documento
%
\begin{document}
\bibliographystyle{alpha} %ordine alfabetico ma rferimenti composti da autore e anno
%
\frontmatter
%
%\begin{frontespizio}
%\end{frontespizio}
%\include{Riassunto}
%
%\tableofcontents
%
%\listoftables
%
%\listoffigures
%
\mainmatter
%
\include{IstitutoBancario}
\include{Progettazione}
\include{Reporting}
%
\backmatter
%
\include{Glossario}
\nocite{*}
\bibliography{bibliografia}
\end{document}
`
Non vorrei che il problema dipendesse dal newcommand per l’inserimento delle figure…ma sino ad ieri sera non aveva dato problemi!
Bloccandosi la compilazione non so se le figure vengono inserite nel .dvi…ma prima le inseriva…
grazie
meg