\tikzstyle{moteur}=[mythick,minimum width=2.7cm,minimum height=1.1cm,rectangle,rounded corners=6pt,
fill=pink,font=\bfseries\sffamily] \def\lineoffset{1.2cm}
\tikzset{mythick/.style={draw=black,line width=0.3mm,font=\sffamily,align=center}}
\tikzset{circbox/.style={circle,minimum width=10mm,minimum height=10mm}}
\tikzset{smallcircbox/.style={circle,minimum width=8mm,minimum height=8mm}}
\tikzset{rectbox/.style={rectangle,minimum width=9mm,minimum height=7mm, rounded corners=5pt}}
\tikzstyle{arrinput}=[line width=0.25mm,->,>=latex] \tikzstyle{arrex}=[line width=0.25mm,<->,>=latex]
\begin{tikzpicture}[x=0.50mm, y=0.50mm, inner sep=0pt, outer sep=0pt]
% pdflatex and files
\node[moteur] (pdftex) at (60,0) {\hologo{pdfTeX}};
\node[mythick,circbox,fill=orange] (filetexp) at (10,0) {.tex};
\node[mythick,circbox,fill=orange] (filefigp) at (10,\lineoffset) {figs\\[-5pt]{\tiny .pdf}};
\node[mythick,rectbox,fill=gray] (filefmtp) at (10,-\lineoffset) {.fmt};
\node[mythick,rectbox,fill=red] (pdffilep) at (120,0) {.pdf};
\node[mythick,smallcircbox,fill=magenta] (auxfilep) at (40,-1.3*\lineoffset)  {.aux};
\node[mythick,smallcircbox,fill=white] (tocfilep) at (60,-1.3*\lineoffset) {.toc};
\node[mythick,smallcircbox,fill=magenta] (bblfilep) at (80,-1.3*\lineoffset)  {.bbl};
\node[mythick,smallcircbox,fill=yellow] (logfilep) at (60,1.3*\lineoffset)  {.log};
\node[mythick,smallcircbox,fill=yellow,font=\footnotesize\sffamily]
(outfilep) at (80,1.3*\lineoffset)  {.out\\[-5pt].nav};
% pdflatex arrows
\draw[arrinput] (filefmtp) -- (pdftex.190); \draw[arrinput] (filetexp.east) -- (pdftex.west);
\draw[arrinput] (filefigp) -- (pdftex.170); \draw[arrinput] (pdftex)- - (logfilep);
\draw[arrex] (auxfilep) -- (pdftex); \draw[arrex] (tocfilep) -- (pdftex);
\draw[arrinput]  (bblfilep) --(pdftex); \draw[arrinput]  (pdftex) --(pdffilep);
\draw[arrinput]  (pdftex) --(outfilep);
% bibtex and files
\node[moteur] (bibtexp) at (60,-60) {\hologo{BibTeX}};
\node[mythick,circbox,fill=orange] (filebibp) at (10,-60) {.bib};
\node[mythick,rectbox,fill=Gray] (filebstp) at (10,-1.5*\lineoffset-60) {.bst};
\node[mythick,smallcircbox,fill=yellow] (blgfilep) at (110,-1.5*\lineoffset-60)  {.blg};
% bibtex arrows
\draw[arrinput]  (auxfilep.west) to  [out=180, in=150] (bibtexp.170);
\draw[arrinput]  (filebibp.east) -- (bibtexp.west); \draw[arrinput]  (filebstp) -- (bibtexp.190);
% linking arrows
\draw[arrinput]  (bibtexp.10) to [out=10, in=0] (bblfilep.east); \draw[arrinput]  (bibtexp.350) -- (blgfilep);
\end{tikzpicture}
