-%
-% File principale: gli altri vanno inclusi da questo.
-%
+%%
+%% GaPiL : Guida alla Programmazione in Linux
+%%
+%% S. Piccardi Feb. 2001
+%%
+%% main.tex: file principale, gli altri vanno inclusi da questo.
+%%
\documentclass[a4paper,11pt,twoside,italian]{book}
\usepackage[latin1]{inputenc}
+\usepackage{booktabs}
+\usepackage{pstcol}
+\usepackage{pst-node}
\usepackage{graphicx}
\usepackage{babel}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage[hang,bf,footnotesize,it]{caption2}
+\usepackage{listings}
+\lstloadlanguages{C++}
+\usepackage{color}
%
% Setting page layout
%
-
\oddsidemargin=0.5cm
\evensidemargin=-0.5cm
\textwidth=16cm
\textheight=24.2cm
\topmargin=-1.cm
%\setcaptionmargin{2cm}
-
%\renewcommand{\chaptername}{Capitolo}
%\renewcommand{\contentsname}{Indice}
%\renewcommand{\bibname}{Bibliografia}
%\includeonly{macro,pref,intro,fdl}
-
\title{Guida alla Programmazione in Linux.}
-\author{Simone Piccardi,
- si spera anche qualcun'altro}
-
+\author{Simone Piccardi}
\begin{document}
-
-
\pagenumbering{roman}
\maketitle
\begin{quote}
- Copyright \copyright\ 2000 Simone Piccardi.
+ Copyright \copyright\ 2000-2001 Simone Piccardi.
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;
A copy of the license is included in the section entitled ``GNU
Free Documentation License''.
+
\end{quote}
\clearemptydoublepage
+
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
+\lstset{language=C++}
+
+\lstset{basicstyle=\small,
+ labelstyle=\tiny,
+ labelstep=1,
+ labelsep=2pt,
+ frame=TB,
+ frametextsep=5pt,
+ basicstyle=\ttfamily,
+ keywordstyle=\color{blue}\ttfamily,
+ ndkeywordstyle=\color{yellow}\ttfamily,
+% rdkeywordstyle=\ttfamily,
+ identifierstyle=\ttfamily,
+ commentstyle=\color{red}\ttfamily,
+ stringstyle=\color{green}\ttfamily,
+% texcsststyle=\ttfamily,
+ directivestyle=\color{magenta}\ttfamily
+}
+
\include{intro}
-\include{files}
-\include{network}
+\include{fileintro}
+\include{filedir}
+\include{fileunix}
+\include{filestd}
\include{process}
-\include{option}
+\include{prochand}
\include{signal}
\include{ipc}
+\include{network}
+\include{socket}
+\include{elemtcp}
+\include{app_a}
+\include{app_b}
\include{fdl}
+
% at the end put the bibliography
\end{document}
-
-
-