niente, la mia idea e' svanita nel nulla.
[gapil.git] / gapil.tex
1 %% 
2 %% GaPiL : Guida alla Programmazione in Linux
3 %%
4 %% S. Piccardi Feb. 2001
5 %%
6 %% main.tex: file principale, gli altri vanno inclusi da questo.
7 %%
8 \documentclass[a4paper,11pt,twoside,italian]{book}
9 \usepackage[latin1]{inputenc}
10 \usepackage{booktabs}
11 \usepackage{pstcol}
12 \usepackage{pst-node}
13 \usepackage{graphicx}
14 \usepackage{babel}
15 \usepackage{cite}
16 \usepackage{amsmath}
17 \usepackage{amsfonts}
18 \usepackage[hang,bf,footnotesize,it]{caption2}
19 \usepackage{listings}
20 \lstloadlanguages{C++}
21 \usepackage{color} 
22 %
23 % Setting page layout
24 %
25 \oddsidemargin=0.5cm
26 \evensidemargin=-0.5cm
27 \textwidth=16cm
28 \textheight=24.2cm
29 \topmargin=-1.cm
30 %\setcaptionmargin{2cm} 
31 %\renewcommand{\chaptername}{Capitolo}
32 %\renewcommand{\contentsname}{Indice}
33 %\renewcommand{\bibname}{Bibliografia}
34 \pagestyle{headings}
35
36 %\includeonly{macro,pref,intro,fdl}
37
38 \title{Guida alla Programmazione in Linux.}
39
40 \author{Simone Piccardi}
41
42 \begin{document}
43
44 \pagenumbering{roman}
45  
46 \maketitle
47
48 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
49 \cleardoublepage}}
50
51 \begin{quote}
52
53       Copyright \copyright\ 2000-2001  Simone Piccardi.
54       Permission is granted to copy, distribute and/or modify this document
55       under the terms of the GNU Free Documentation License, Version 1.1
56       or any later version published by the Free Software Foundation;
57       with the Invariant Sections being ``Prefazione'', with no
58       Front-Cover Texts, and with no Back-Cover Texts.
59       A copy of the license is included in the section entitled ``GNU
60       Free Documentation License''.
61
62 \end{quote}
63 \clearemptydoublepage
64
65
66 \tableofcontents
67 \clearemptydoublepage
68
69
70 \include{macro}
71 \setcounter{secnumdepth}{-2}
72 \include{pref}
73 \setcounter{secnumdepth}{2}
74 \clearemptydoublepage
75
76 \pagenumbering{arabic}
77
78 \lstset{language=C++} 
79
80 \lstset{basicstyle=\small,
81   labelstyle=\tiny,
82   labelstep=1,
83   labelsep=2pt,
84   frame=TB,
85   frametextsep=5pt,
86   basicstyle=\ttfamily,
87   keywordstyle=\color{blue}\ttfamily,
88   ndkeywordstyle=\color{yellow}\ttfamily,
89 %  rdkeywordstyle=\ttfamily,
90   identifierstyle=\ttfamily,
91   commentstyle=\color{red}\ttfamily,
92   stringstyle=\color{green}\ttfamily,
93 %  texcsststyle=\ttfamily,
94   directivestyle=\color{magenta}\ttfamily
95 }
96 \include{intro}
97 \include{fileintro}
98 \include{filedir}
99 \include{fileunix}
100 \include{filestd}
101 \include{process}
102 \include{prochand}
103 \include{signal}
104 \include{ipc}
105 \include{network}
106 \include{socket}
107 \include{elemtcp}
108 \include{simpltcp}
109 \include{app_a}
110 \include{app_b}
111 \include{fdl}
112
113
114  
115 % at the end put the bibliography
116
117 %\bibliographystyle{phaip}
118 %\bibliography{biblio}
119
120 \end{document}
121