forse cosi' piace di piu' a latex2html
[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 Build: $Date: 2001/07/02 04:46:29 $     
64
65 \clearemptydoublepage
66
67
68 \tableofcontents
69 \clearemptydoublepage
70
71
72 \include{macro}
73 \setcounter{secnumdepth}{-2}
74 \include{pref}
75 \setcounter{secnumdepth}{2}
76 \clearemptydoublepage
77
78 \pagenumbering{arabic}
79
80 \lstset{language=C++} 
81
82 \lstset{basicstyle=\small,
83   labelstyle=\tiny,
84   labelstep=1,
85   labelsep=2pt,
86   frame=TB,
87   frametextsep=5pt,
88   basicstyle=\ttfamily,
89   keywordstyle=\color{blue}\ttfamily,
90   ndkeywordstyle=\color{yellow}\ttfamily,
91 %  rdkeywordstyle=\ttfamily,
92   identifierstyle=\ttfamily,
93   commentstyle=\color{red}\ttfamily,
94   stringstyle=\color{green}\ttfamily,
95 %  texcsststyle=\ttfamily,
96   directivestyle=\color{magenta}\ttfamily
97 }
98 \include{intro}
99 \include{fileintro}
100 \include{filedir}
101 \include{fileunix}
102 \include{filestd}
103 \include{process}
104 \include{prochand}
105 \include{signal}
106 \include{ipc}
107 \include{network}
108 \include{socket}
109 \include{elemtcp}
110 \include{simpltcp}
111 \include{app_a}
112 \include{app_b}
113 \include{fdl}
114
115
116  
117 % at the end put the bibliography
118
119 %\bibliographystyle{phaip}
120 %\bibliography{biblio}
121
122 \end{document}
123