X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=main.tex;h=e2b93adda01d63d6238f5d0b2576c107d31d3cfb;hp=dfdfb152d01ab36471188d3bb6735dc05728b032;hb=091527e47fd90180e50ceee95a72340f990d999f;hpb=dae47fe5a867149bb13d3b69126d92b8498b607b diff --git a/main.tex b/main.tex index dfdfb15..e2b93ad 100644 --- a/main.tex +++ b/main.tex @@ -1,14 +1,24 @@ -% -% 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 % @@ -29,7 +39,6 @@ \author{Simone Piccardi} - \begin{document} \pagenumbering{roman} @@ -41,7 +50,7 @@ \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; @@ -50,9 +59,11 @@ A copy of the license is included in the section entitled ``GNU Free Documentation License''. + \end{quote} \clearemptydoublepage + \tableofcontents \clearemptydoublepage @@ -65,15 +76,42 @@ \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{fileintro} +\include{filedir} +\include{fileunix} +\include{filestd} \include{process} -\include{option} +\include{prochand} \include{signal} \include{ipc} \include{network} \include{socket} +\include{elemtcp} +\include{simpltcp} +\include{app_a} +\include{app_b} \include{fdl} + % at the end put the bibliography @@ -82,6 +120,3 @@ \end{document} - - -