%% main.tex
%%
%% Copyright (C) 2003 Truelite srl.  Permission is granted to
%% copy, distribute and/or modify this document under the terms of the GNU Free
%% Documentation License, Version 1.1 or any later version published by the
%% Free Software Foundation; with the Invariant Sections being "Prefazione",
%% with no Front-Cover Texts, and with no Back-Cover Texts.  A copy of the
%% license is included in the section entitled "GNU Free Documentation
%% License".
%%
%% Dispense dei corsi GNU/Linux di Truelite - Introduzione allo sviluppo
%% Software in ambiente GNU/Linux
%%
%% Sept 2003 Christopher R. Gabriel <cgabriel@truelite.it>
%% 
%%
\documentclass[a4paper,11pt,twoside]{book} \usepackage{ae,aecompl}
\usepackage[T1]{fontenc} \usepackage[latin1]{inputenc}
\usepackage[bookmarks=true]{hyperref}
\usepackage{makeidx}
\usepackage{pst-node}
\usepackage{graphicx}
\usepackage[italian]{babel}
\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
\newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{}
\newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage[hang,bf,footnotesize,it]{caption2}
\usepackage{listings}
\lstloadlanguages{C++}
\usepackage{color} 
\usepackage{mdwlist}              % scommentare per la stampa (PS e PDF)
\usepackage{boxedminipage}        % scommentare per la stampa (PS e PDF)
\usepackage{multirow}

\def\tild{\char'176}


%
% Setting page layout
%
\oddsidemargin=0.5cm
\evensidemargin=-0.5cm
\textwidth=16cm
\textheight=24.2cm
\topmargin=-1.cm
\pagestyle{headings}


\title{\Huge \textbf{Sviluppo software con GNU/Linux}} 

\author{Christopher R. Gabriel}

\makeindex

\begin{document}

\frontmatter

\maketitle

\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
\cleardoublepage}}

\begin{quote}
  
  Copyright \copyright\ 2003 Truelite Srl.  Permission is granted to
  copy, distribute and/or modify this document under the terms of the GNU Free
  Documentation License, Version 1.1 or any later version published by the
  Free Software Foundation; with no Invariant Sections, with no Front-Cover
  Texts, and with no Back-Cover Texts.  A copy of the license is included in
  the section entitled ``GNU Free Documentation License''.

\end{quote}
\clearemptydoublepage


\tableofcontents


\clearemptydoublepage
\include{macro}
\include{pref}
\clearemptydoublepage
\mainmatter

\lstset{language=C++} 

\lstset{basicstyle=\small,
  numbers=left,
  numberstyle=\tiny,
  stepnumber=1,
  numbersep=2pt, 
  frame=TB,
  framesep=5pt,

  basicstyle=\ttfamily,
  keywordstyle=\color{blue}\ttfamily,
  ndkeywordstyle=\color{yellow}\ttfamily,

  identifierstyle=\ttfamily,
  commentstyle=\color{red}\ttfamily,
  stringstyle=\color{green}\ttfamily,

  directivestyle=\color{magenta}\ttfamily
} 


\include{cvs}
\include{make}
\include{compilatori}
\include{interpreti}
\appendix

\backmatter

\printindex

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
