\documentclass[12pt,dvipdfm,openany]{book}

\usepackage{a4wide}
\usepackage[latin1]{inputenc}
\usepackage[portuges,brazil] {babel}
\usepackage[dvips]{graphicx}
\usepackage{textcomp}
\usepackage{setspace}
%\usepackage{babel}
\usepackage{fancybox,fancyhdr,framed,color}
\usepackage{setspace}
\usepackage{array}
\usepackage{url}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage{makeidx}
\usepackage{psboxit,graphics,amscd}
\usepackage{psfrag}
\usepackage{verbatim}
\definecolor{claro}{gray}{0.9}

\onehalfspacing
% \input epsf.tex



% \oddsidemargin  005.0mm
% \evensidemargin 005.0mm
% \textwidth      160.0mm
% \topmargin      005.0mm
% %\textheight     237.0mm
% \textheight     232.0mm
% \parskip        006.0mm
% \parindent      000.0mm
% \intextsep      010.0mm
% \floatsep       010.0mm




%antes de compilar seu documento, execute o comando "ebb *.png" no diretório em que seu arquivo .tex se encontra. Isso permitirá que o latex reconheça as figuras .png
\title{\textbf{Como Criar uma Personalização Debian (CDD)}}
\author{Projeto LibertasBR e Colaboradores\\ \url{http://www.libertasbr.org.br}}

\pagestyle{fancy}

% \renewcommand{\chaptermark}[1]%
%         {\markright{CAPÍTULO \thechapter\ : #1}{}}
% 
% \renewcommand{\sectionmark}[1]%
%         {\markright{\thesection\ - #1}}
% 
% \renewcommand{\subsectionmark}[1]%
%         {\markright{\thesubsection\ - #1}}

%\lhead{}
\lhead[\fancyplain{}{\tiny\sc{\rightmark}}]%
        {\fancyplain{}{{\tiny\sc{\rightmark}}}}
\chead{}
\rhead{\includegraphics[scale=0.3]{imagens/logolibertasbr1.png}}

% \lfoot{{\tiny\sc{Elias Mussi}}}
% \rfoot{{\tiny\sc{Outubro de 2004 - MinaS Livre - LibertasBR}}}

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{4}


% \makeindex

\begin{document}
\bibliographystyle{plain}
\pagenumbering{roman}
\setcounter{page}{1}

\maketitle
% \begin{figure}[ht!]
% \centering
% \includegraphics[scale=1]{imagens/logolibertasbr1.png}
% \end{figure}
% \begin{figure}[ht!]
% \centering
% \includegraphics[scale=1]{imagens/ml.png}
% \end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section*{Versão deste documento}
% Versão : 0.0.1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
%
%  \listoffigures
%  \newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \addcontentsline{toc}{chapter}{Lista de tabelas}
% 
% \listoftables
% \newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{page}{1}
\pagenumbering{arabic}




\input{introducao.tex}

%\input{base.tex}

% \chapter{Montagem do Mirror}
\input{mirror.tex}

\input{instalador.tex}

\input{personalizacao.tex}

\input{geracao.tex}


% \input{servidor.tex}
% 
% \input{usuario.tex}

\input{faq.tex}

\newpage
\appendix
\input{apendice.tex}
\input{creditos.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
% \section{Outras seções}
% \subsection{Acrescente subseções se preciso}

%\begin{framed}
%Caso nessecite de destacar algum trecho, colocando uma moldura nele, descomente aqui.
%\end{framed}

% \nocite{*}
%  \bibliography{bibliografia.bib}
% \newpage

\end{document}
