3 %% Copyright (C) 2000-2004 Simone Piccardi. Permission is granted to
4 %% copy, distribute and/or modify this document under the terms of the GNU Free
5 %% Documentation License, Version 1.1 or any later version published by the
6 %% Free Software Foundation; with the Invariant Sections being "Prefazione",
7 %% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
8 %% license is included in the section entitled "GNU Free Documentation
11 %% GaPiL : Guida alla Programmazione in Linux
13 %% S. Piccardi Oct. 2000
15 %% gapil.tex: file principale, gli altri vanno inclusi da questo.
17 \documentclass[a4paper,11pt,twoside]{book}
18 \usepackage{ae,aecompl}
19 \usepackage[T1]{fontenc}
20 \usepackage[latin1]{inputenc}
21 %\usepackage[tex4ht, bookmarks=true]{hyperref}
22 \usepackage[bookmarks=true,plainpages=false,pdfpagelabels,hyperfootnotes=false]{hyperref}
24 %\usepackage{booktabs}
29 \usepackage[italian]{babel}
30 \newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
31 \newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{}
32 \newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
36 \usepackage[hang,bf,footnotesize,it]{caption2}
38 \lstloadlanguages{C++}
40 \usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
41 \usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
43 %\usepackage{footnote}
54 %\evensidemargin=-0.5cm
58 \geometry{textheight=24.2cm,textwidth=16cm}
61 %\setcaptionmargin{2cm}
62 %\renewcommand{\chaptername}{Capitolo}
63 %\renewcommand{\contentsname}{Indice}
64 %\renewcommand{\bibname}{Bibliografia}
67 %\includeonly{macro,pref,intro,fdl}
69 \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\
70 \huge Guida alla Programmazione in Linux}
72 \author{Simone Piccardi}
82 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
87 Copyright \copyright\ 2000-2004 Simone Piccardi. Permission is granted to
88 copy, distribute and/or modify this document under the terms of the GNU Free
89 Documentation License, Version 1.1 or any later version published by the
90 Free Software Foundation; with the Invariant Sections being ``Prefazione'',
91 with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
92 license is included in the section entitled ``GNU Free Documentation
98 %\ifx\hcode\undefined\else
102 \clearemptydoublepage
105 \clearemptydoublepage
108 \lstset{language=C++}
110 \lstset{basicstyle=\small,
118 basicstyle=\ttfamily,
119 keywordstyle=\color{blue}\ttfamily,
120 ndkeywordstyle=\color{yellow}\ttfamily,
121 % rdkeywordstyle=\ttfamily,
122 identifierstyle=\ttfamily,
123 commentstyle=\color{red}\ttfamily,
124 stringstyle=\color{green}\ttfamily,
125 % texcsststyle=\ttfamily,
126 directivestyle=\color{magenta}\ttfamily
129 % distance from margins for boxedminipage
132 \part{Programmazione di sistema}
133 \label{part:progr-di-sist}
146 \part{Programmazione di rete}
147 \label{part:progr-di-rete}
156 \label{part:appendici}
160 \include{ringraziamenti}
163 % at the end put the bibliography
166 %\bibliographystyle{phaip}
167 %\bibliography{biblio}
170 \bibliographystyle{ieeetr}
171 \bibliography{biblio}