\documentclass[oneside]{book}
\usepackage{url,verbatim,fancyvrb,appendix}
\usepackage{pifont}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage{tikz}
\usepackage[portuguese]{babel}
\usepackage[authoryear]{natbib}
\usepackage{color,gretl}
\usepackage[a4paper,body={6.07in,9.7in},top=.8in,left=1.1in]{geometry}
\usepackage[pdftex,hyperfootnotes=false]{hyperref}
\usepackage{dcolumn,amsmath,bm}
\usepackage[bottom]{footmisc}

\allowdisplaybreaks[1]

%% \pdfimageresolution=120
\hypersetup{pdftitle={Manual de Utilização do Gretl},
            pdfsubject={GNU Regression, Econometrics and Time Series Library},
            pdfauthor={Allin Cottrell e Jack Lucchetti},
            colorlinks=true,
            linkcolor=blue,
            urlcolor=red,
            citecolor=steel,
            bookmarks=true,
            bookmarksnumbered=true,
            plainpages=false
}


\begin{document}

\renewcommand{\scriptname}{Exemplo}
\renewcommand{\GCR}{\textit{Manual dos Comandos do Gretl}}
\renewcommand{\GUG}{\textit{Manual de Utilização do Gretl}}

\VerbatimFootnotes

\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex}
\setcounter{tocdepth}{1}

%% titlepage

\thispagestyle{empty}

\begin{center}
\pdfbookmark[1]{Manual de Utilização do Gretl}{titlepage}

\gtitle{Manual de Utilização do Gretl}

\gsubtitle{Gnu Regression, Econometrics and Time-series Library}

{\large \sffamily
Allin Cottrell\\
Department of Economics\\
Wake Forest University\\

\vspace{20pt}
Riccardo ``Jack'' Lucchetti\\
Dipartimento di Economia\\
Università Politecnica delle Marche\\

\vspace{20pt}
Hélio Guilherme\\
Tradução Portuguesa\\
\vspace{20pt}
\input date
}

\end{center}
\clearpage

%% end titlepage, start license page

\thispagestyle{empty}

\pdfbookmark[1]{Licença}{license}

\vspace*{2in}

Permission is granted to copy, distribute and/or modify this document
under the terms of the \emph{GNU Free Documentation License}, Version
1.1 or any later version published by the Free Software Foundation
(see \url{http://www.gnu.org/licenses/fdl.html}).\\

\vspace{20pt}
A cópia, distribuição e/ou modificação deste documento é permitida de
acordo com os termos da \emph{Licença de Documentação Livre GNU},
Versão 1.1 ou qualquer versão posterior publicada pela Free Software
Foundation (ver em \url{http://www.gnu.org/licenses/fdl.html}).

\clearpage

%% end license page, start table of contents
\pdfbookmark[1]{Conteúdo}{contents}

\pagenumbering{roman}
\pagestyle{headings}

\tableofcontents

\clearpage
\pagenumbering{arabic}

\guidechap{introduction}

\part{Uso do programa}

\guidechap{starting}
\guidechap{modes}
\guidechap{datafiles}
\guidechap{sampling}
\guidechap{graphs}
\guidechap{join}
\guidechap{realtime}
\guidechap{genr}
\guidechap{datatypes}
\guidechap{discrete}
\guidechap{looping}
\guidechap{functions}
\guidechap{persistent}
\guidechap{string_series}
\guidechap{matrices}
\guidechap{calendar}
\guidechap{cheatsheet}

\part{Métodos econométricos}

\guidechap{robust_vcv}
\guidechap{panel}
\guidechap{dpanel}
\guidechap{nls}
\guidechap{mle}
\guidechap{gmm}
\guidechap{criteria}
\guidechap{df}
\guidechap{tsfilter}
\guidechap{timeseries}
\guidechap{var}
\guidechap{vecm}
\guidechap{system}
\guidechap{forecast}
\guidechap{kalman}
\guidechap{numerical}
\guidechap{probit}
\guidechap{quantreg}
\guidechap{nonparam}

\part{Detalhes técnicos}

\guidechap{gretltex}
\guidechap{gretlR}
\guidechap{gretlOx}
\guidechap{gretlOctave}
\guidechap{gretlStata}
\guidechap{gretlPython}
\guidechap{gretlJulia}
\guidechap{trouble}
\guidechap{cli}

\part{Apêndices}

\begin{appendices}
\include{appendices}
\end{appendices}

\clearpage

\include{biblio}

\end{document}
