- #1
DePaco
- 14
- 2
Hello,
I am trying to compile my lateX document but errors appear:
! I can't write on file 'Rapport.pdf'.
Please type another file name for output
! Emergency stop
l.55 ... obj {<< /pgfprgb (/Pattern /DeviceRGB] >>
! Fatal error occurred, no output pdf file produced!
Transcript written on Rapport.log
One of the solution is to close pdf file before compilation. I have already tried it and I have the same errors.
My script is:
\documentclass[12pt,twoside]{report}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{float}
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usepackage[french]{minitoc}
\usepackage{array}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage {hyperref}
\usepackage{geometry}
\usepackage{subfigure}
\usepackage{amssymb}
\usepackage[square]{natbib}
%\usepackage{bibtopic}
\usepackage{pifont}
\usepackage{soul}
\usepackage{chemist}
\usepackage{tikz}
\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage{nsheader}
\usepackage{setspace}
\hypersetup{%
colorlinks= true,
linkcolor = black,
anchorcolor = black,
citecolor = black,
filecolor = black,
urlcolor = black,
breaklinks=false,
pdfpagemode= UseOutlines,
pdfstartview={XYZ 0 1000 1.0}
}
\makeatletter
\newif\if@openbib
\makeatother
\geometry{hscale=0.78,vscale=0.8,centering}
\pagestyle{fancy}
%\pagestyle{myheadings}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\setcounter{minitocdepth}{5}
\setcounter{secnumdepth}{5}
%DEFINITION DES VARIABLES
\def\bel{\textit{Bel}}
\def\pl{\textit{Pl}}\def\fdg{\text{$^{\text{18}}\text{F-FDG}$}}
\def\flu{\(^{\text{18}}\)F}
\def\flt{\(^{18}FLT\)}
\def\fmiso{\(^{18}FMISO\)}
\def\iod{\(^{131}I\)}
\def\tec{\(^{99m}Tc\)}
\begin{document}
\dominitoc
\makeatletter
\setlength{\parskip}{2pt}
\renewcommand{\tablename}{Tableau}
\renewcommand{\figurename}{Figure}
\newcommand{\tab}{\ \ \ \ }
\renewcommand{\baselinestretch}{1.2}
\newcommand{\etal}{\textsl{et al.} }
\renewcommand{\listfigurename}{Liste des Figures}
\renewcommand{\listtablename}{Liste des Tableaux}
\widowpenalty=10000 % empeche au maximum la coupure avant la derniere ligne
\clubpenalty=10000 % empeche au maximum la coupure apres la premiere ligne
\raggedbottom % empeche l'etirement des ressorts verticaux
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
{0.2cm \@plus 0ex \@minus .0ex}%
{0.0ex \@plus .0ex}
{\reset@font\texorpdfstring\normalsize\textbf\bfseries}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0.2cm \@plus 0.ex \@minus .0ex}%
{0.0ex \@plus .0ex}
{\reset@font\texorpdfstring\normalsize\textbf\bfseries}}
\makeatother
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{{\chaptername~\thechapter{}.\quad #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection{}.\quad #1}}
\lhead[\thepage]{\rightmark}
\rhead[\leftmark]{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\headsep}{20pt}
\renewcommand{\chaptermark}[1]{\markboth{{#1}}{}}
\addtocontents{toc}{\protect\chaptermark{Table des matières}}
\renewcommand{\sectionmark}[1]{\markright{{#1}}{}}
\addtocontents{toc}{\protect\sectionmark{Table des matières}}
\begin{spacing}{1.5}
%\pagestyle{plain}
% \input{chapitres/pgde.tex}
\input{chapitres/Pgarde.tex}
% \date\today
%\maketitle
% \input{chapitres/Thankly.tex}
\end{spacing}
\input{chapitres/Nodule.tex}
%BIBLIOGRAPHIE..
\newpage
~\newpage
\bibliographystyle{abbrvnat-fr}
\markboth{Bibliographie}{Bibliographie}\addcontentsline{toc}{part}{Bibliographie}
\bibliography{bibliographie}
\end{document}
Thank you for your help.
I am trying to compile my lateX document but errors appear:
! I can't write on file 'Rapport.pdf'.
Please type another file name for output
! Emergency stop
l.55 ... obj {<< /pgfprgb (/Pattern /DeviceRGB] >>
! Fatal error occurred, no output pdf file produced!
Transcript written on Rapport.log
One of the solution is to close pdf file before compilation. I have already tried it and I have the same errors.
My script is:
\documentclass[12pt,twoside]{report}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{float}
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usepackage[french]{minitoc}
\usepackage{array}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage {hyperref}
\usepackage{geometry}
\usepackage{subfigure}
\usepackage{amssymb}
\usepackage[square]{natbib}
%\usepackage{bibtopic}
\usepackage{pifont}
\usepackage{soul}
\usepackage{chemist}
\usepackage{tikz}
\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage{nsheader}
\usepackage{setspace}
\hypersetup{%
colorlinks= true,
linkcolor = black,
anchorcolor = black,
citecolor = black,
filecolor = black,
urlcolor = black,
breaklinks=false,
pdfpagemode= UseOutlines,
pdfstartview={XYZ 0 1000 1.0}
}
\makeatletter
\newif\if@openbib
\makeatother
\geometry{hscale=0.78,vscale=0.8,centering}
\pagestyle{fancy}
%\pagestyle{myheadings}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\setcounter{minitocdepth}{5}
\setcounter{secnumdepth}{5}
%DEFINITION DES VARIABLES
\def\bel{\textit{Bel}}
\def\pl{\textit{Pl}}\def\fdg{\text{$^{\text{18}}\text{F-FDG}$}}
\def\flu{\(^{\text{18}}\)F}
\def\flt{\(^{18}FLT\)}
\def\fmiso{\(^{18}FMISO\)}
\def\iod{\(^{131}I\)}
\def\tec{\(^{99m}Tc\)}
\begin{document}
\dominitoc
\makeatletter
\setlength{\parskip}{2pt}
\renewcommand{\tablename}{Tableau}
\renewcommand{\figurename}{Figure}
\newcommand{\tab}{\ \ \ \ }
\renewcommand{\baselinestretch}{1.2}
\newcommand{\etal}{\textsl{et al.} }
\renewcommand{\listfigurename}{Liste des Figures}
\renewcommand{\listtablename}{Liste des Tableaux}
\widowpenalty=10000 % empeche au maximum la coupure avant la derniere ligne
\clubpenalty=10000 % empeche au maximum la coupure apres la premiere ligne
\raggedbottom % empeche l'etirement des ressorts verticaux
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
{0.2cm \@plus 0ex \@minus .0ex}%
{0.0ex \@plus .0ex}
{\reset@font\texorpdfstring\normalsize\textbf\bfseries}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0.2cm \@plus 0.ex \@minus .0ex}%
{0.0ex \@plus .0ex}
{\reset@font\texorpdfstring\normalsize\textbf\bfseries}}
\makeatother
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{{\chaptername~\thechapter{}.\quad #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection{}.\quad #1}}
\lhead[\thepage]{\rightmark}
\rhead[\leftmark]{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\headsep}{20pt}
\renewcommand{\chaptermark}[1]{\markboth{{#1}}{}}
\addtocontents{toc}{\protect\chaptermark{Table des matières}}
\renewcommand{\sectionmark}[1]{\markright{{#1}}{}}
\addtocontents{toc}{\protect\sectionmark{Table des matières}}
\begin{spacing}{1.5}
%\pagestyle{plain}
% \input{chapitres/pgde.tex}
\input{chapitres/Pgarde.tex}
% \date\today
%\maketitle
% \input{chapitres/Thankly.tex}
\end{spacing}
\input{chapitres/Nodule.tex}
%BIBLIOGRAPHIE..
\newpage
~\newpage
\bibliographystyle{abbrvnat-fr}
\markboth{Bibliographie}{Bibliographie}\addcontentsline{toc}{part}{Bibliographie}
\bibliography{bibliographie}
\end{document}
Thank you for your help.