I faced problems with my laptop so I changed the computed working with. I pasted in it all the files of miktex, latex and winedit from my old computer. Also I saved the fold of my graphics on it.
The problem is when I typset the file an error message indicates that the file containg the image is not found. However in the pdf the graph appears.
Code: Select all
\documentclass [12pt]{report}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\topmargin} {-3cm} \setlength{\headheight} {1.5cm}
\setlength{\headsep} {1cm} \setlength{\oddsidemargin} {1cm}
\setlength{\textheight} {21cm} \setlength{\textwidth} {15cm}
\renewcommand{\baselinestretch}{1.5}
%\makeatletter
%\renewcommand*\l@section{\@dottedtocline{1}{0em}{2.3em}}
%\renewcommand*\l@subsection{\@dottedtocline{2}{0em}{3.2em}}
%\makeatother
\setcounter{tocdepth}{4} \setcounter{secnumdepth}{3}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{graphicx}
%\usepackage[pdftex]{graphicx}
\usepackage[T1]{fontenc}
\usepackage{titlesec}
\usepackage{titletoc}
%\usepackage{fancychapters}
\usepackage[Lenny]{fncychap}
\usepackage{lettrine}
\usepackage{dropping}
\usepackage{float}
\usepackage{tabularx}
\usepackage{rotating}
\usepackage{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\addtolength{\headheight}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{%
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\makeatletter
\renewcommand{\fnum@figure}{\small\textit{\figurename~\thefigure}}
\makeatother
\title{On Adaptive control charts for attribute data}
%\maketitle%
%\titleformat{\chapter}[display]
%{\normalfont\Large\filcenter\sffamily}
%{\titlerule[1pt]%
%\vspace{1pt}%
%\titlerule
%\vspace{1pc}%
%\LARGE\MakeUppercase{\chaptertitlename} \thechapter} {1pc}
%{\titlerule
%\vspace{1pc}%
%\Huge}
\tableofcontents %\pagestyle{myheadings}
\hyphenpenalty 10000
\listoftables
\listoffigures
%%%%%%%%%%%%%%My Lenny style%%%%%%%%
\ChNameVar{\fontsize{14}{6}\usefont{OT1}{phv}{m}{n}\selectfont\rm\bfseries}
\ChNameUpperCase
\ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
\ChTitleVar{\itshape\Huge\bfseries\center} \ChRuleWidth{2pt} %\rm
%\filcenter
\include{chap1}
\end{document}