X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=gapil.tex;h=dae2d68a5caff764ce8e8a5cce69b67b36a2a1f0;hp=5e1fc777261e15500044f06ddc704f3c9c7ce928;hb=d3360b59e957e86e2cc972f1841678feca8eff33;hpb=34ed932cc43ebd3df23ce3255984bba0301b7231 diff --git a/gapil.tex b/gapil.tex index 5e1fc77..dae2d68 100644 --- a/gapil.tex +++ b/gapil.tex @@ -1,17 +1,35 @@ -%% -%% GaPiL : Guida alla Programmazione in Linux +%% gapil.tex %% -%% S. Piccardi Feb. 2001 +%% Copyright (C) 2000-2002 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", +%% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the +%% license is included in the section entitled "GNU Free Documentation +%% License". %% -%% main.tex: file principale, gli altri vanno inclusi da questo. +%% GaPiL : Guida alla Programmazione in Linux %% -\documentclass[a4paper,11pt,twoside,italian]{book} +%% S. Piccardi Oct. 2000 +%% +%% gapil.tex: file principale, gli altri vanno inclusi da questo. +%% +\documentclass[a4paper,11pt,twoside]{book} +\usepackage{ae,aecompl} +\usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} -\usepackage{booktabs} -\usepackage{pstcol} +%\usepackage[tex4ht, bookmarks=true]{hyperref} +\usepackage[bookmarks=true]{hyperref} +\usepackage{makeidx} +%\usepackage{booktabs} +%\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} @@ -19,6 +37,15 @@ \usepackage{listings} \lstloadlanguages{C++} \usepackage{color} +\usepackage{mdwlist} % scommentare per la stampa (PS e PDF) +\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF) +\usepackage{multirow} +%\usepackage{footnote} +%\usepackage{mdwtab} + +\def\tild{\char'176} + + % % Setting page layout % @@ -35,53 +62,55 @@ %\includeonly{macro,pref,intro,fdl} -\title{Guida alla Programmazione in Linux.} +\title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\ +\huge Guida alla Programmazione in Linux} \author{Simone Piccardi} +\makeindex + \begin{document} -\pagenumbering{roman} - +\frontmatter + \maketitle \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty} \cleardoublepage}} \begin{quote} - - 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; - with the Invariant Sections being ``Prefazione'', with no - Front-Cover Texts, and with no Back-Cover Texts. - A copy of the license is included in the section entitled ``GNU - Free Documentation License''. + + 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'', + with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the + license is included in the section entitled ``GNU Free Documentation + License''. \end{quote} \clearemptydoublepage +%\ifx\hcode\undefined\else \tableofcontents -\clearemptydoublepage - +%\fi +\clearemptydoublepage \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, + framesep=5pt, +% xleftmargin=0.3cm, basicstyle=\ttfamily, keywordstyle=\color{blue}\ttfamily, ndkeywordstyle=\color{yellow}\ttfamily, @@ -91,30 +120,43 @@ stringstyle=\color{green}\ttfamily, % texcsststyle=\ttfamily, directivestyle=\color{magenta}\ttfamily -} +} + +% distance from margins for boxedminipage +%\fboxsep=6pt + + \include{intro} +\include{process} +\include{prochand} \include{fileintro} \include{filedir} \include{fileunix} \include{filestd} -\include{process} -\include{prochand} +\include{system} \include{signal} +\include{session} +\include{fileadv} \include{ipc} \include{network} \include{socket} \include{elemtcp} \include{simpltcp} -\include{app_a} -\include{app_b} +\appendix +\include{netlayer} +\include{trasplayer} +\include{errors} +\include{ringraziamenti} \include{fdl} - - % at the end put the bibliography +\backmatter %\bibliographystyle{phaip} %\bibliography{biblio} +\printindex -\end{document} +\bibliographystyle{ieeetr} +\bibliography{biblio} +\end{document}