X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=gapil.tex;h=62f70cb7d0eb2b4734b0375c7f74cb228ffe82a2;hp=ed88f9a338d7e06fcced2aecea2b080a9fdff169;hb=b99370b46df36884995d94ed00de41aa51b4e027;hpb=9c3be0a6a901fad667ba1abcd8b46c712020cf26 diff --git a/gapil.tex b/gapil.tex index ed88f9a..62f70cb 100644 --- a/gapil.tex +++ b/gapil.tex @@ -1,6 +1,6 @@ %% gapil.tex %% -%% Copyright (C) 2000-2002 Simone Piccardi. Permission is granted to +%% Copyright (C) 2000-2003 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; with the Invariant Sections being "Prefazione", @@ -14,15 +14,22 @@ %% %% gapil.tex: file principale, gli altri vanno inclusi da questo. %% -\documentclass[a4paper,11pt,twoside,italian]{book} +\documentclass[a4paper,11pt,twoside]{book} +\usepackage{ae,aecompl} +\usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} +%\usepackage[tex4ht, bookmarks=true]{hyperref} \usepackage[bookmarks=true]{hyperref} \usepackage{makeidx} %\usepackage{booktabs} -\usepackage{pstcol} +%\usepackage{pstcol} +%\usepackage{pslatex} \usepackage{pst-node} \usepackage{graphicx} -\usepackage{babel} +\usepackage[italian]{babel} +\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{} +\newcommand{\includestruct}[1]{\lstinputlisting[stepnumber=0]{#1}}{} +\newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{} \usepackage{cite} \usepackage{amsmath} \usepackage{amsfonts} @@ -35,6 +42,10 @@ \usepackage{multirow} %\usepackage{footnote} %\usepackage{mdwtab} + +\def\tild{\char'176} + + % % Setting page layout % @@ -60,8 +71,8 @@ \begin{document} -\pagenumbering{roman} - +\frontmatter + \maketitle \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty} @@ -69,7 +80,7 @@ \begin{quote} - Copyright \copyright\ 2000-2002 Simone Piccardi. Permission is granted to + Copyright \copyright\ 2000-2003 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; with the Invariant Sections being ``Prefazione'', @@ -80,28 +91,26 @@ \end{quote} \clearemptydoublepage +%\ifx\hcode\undefined\else \tableofcontents +%\fi + \clearemptydoublepage -% commentare per la stampa PS e PDF -%\include{compatib} % commentare per la stampa PS e PDF -% commentare per la stampa PS e PDF \include{macro} -\setcounter{secnumdepth}{-2} \include{pref} -\setcounter{secnumdepth}{2} \clearemptydoublepage - -\pagenumbering{arabic} +\mainmatter \lstset{language=C++} \lstset{basicstyle=\small, - labelstyle=\tiny, - labelstep=1, - labelsep=2pt, + numbers=left, + numberstyle=\tiny, + stepnumber=1, + numbersep=2pt, frame=TB, - frametextsep=5pt, - indent=0.3cm, + framesep=5pt, +% xleftmargin=0.3cm, basicstyle=\ttfamily, keywordstyle=\color{blue}\ttfamily, ndkeywordstyle=\color{yellow}\ttfamily, @@ -116,6 +125,7 @@ % distance from margins for boxedminipage %\fboxsep=6pt + \include{intro} \include{process} \include{prochand} @@ -130,23 +140,23 @@ \include{ipc} \include{network} \include{socket} -\include{elemtcp} -\include{simpltcp} +\include{tcpsock} +\include{tcpsockadv} \appendix -\include{ipprot} -\include{tcpprot} +\include{netlayer} +\include{trasplayer} \include{errors} \include{ringraziamenti} \include{fdl} % at the end put the bibliography +\backmatter %\bibliographystyle{phaip} %\bibliography{biblio} \printindex -\bibliographystyle{alpha} +\bibliographystyle{ieeetr} \bibliography{biblio} \end{document} -