projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prova di endianess
[gapil.git]
/
gapil.tex
diff --git
a/gapil.tex
b/gapil.tex
index 6f3560d72a9a7802bcc21b57d146b84710bf2110..f17df27e77c41874a4ee86ed02bf9d343e17a664 100644
(file)
--- a/
gapil.tex
+++ b/
gapil.tex
@@
-1,6
+1,6
@@
%% gapil.tex
%%
%% gapil.tex
%%
-%% Copyright (C) 2000-200
2
Simone Piccardi. Permission is granted to
+%% Copyright (C) 2000-200
3
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",
%% 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,16
+14,22
@@
%%
%% gapil.tex: file principale, gli altri vanno inclusi da questo.
%%
%%
%% gapil.tex: file principale, gli altri vanno inclusi da questo.
%%
-\documentclass[a4paper,11pt,twoside,italian]{book}
-%\usepackage{tex4ht}
+\documentclass[a4paper,11pt,twoside]{book}
+\usepackage{ae,aecompl}
+\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[latin1]{inputenc}
+%\usepackage[tex4ht, bookmarks=true]{hyperref}
\usepackage[bookmarks=true]{hyperref}
\usepackage{makeidx}
%\usepackage{booktabs}
%\usepackage{pstcol}
\usepackage[bookmarks=true]{hyperref}
\usepackage{makeidx}
%\usepackage{booktabs}
%\usepackage{pstcol}
+%\usepackage{pslatex}
\usepackage{pst-node}
\usepackage{graphicx}
\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}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
@@
-36,6
+42,10
@@
\usepackage{multirow}
%\usepackage{footnote}
%\usepackage{mdwtab}
\usepackage{multirow}
%\usepackage{footnote}
%\usepackage{mdwtab}
+
+\def\tild{\char'176}
+
+
%
% Setting page layout
%
%
% Setting page layout
%
@@
-61,8
+71,8
@@
\begin{document}
\begin{document}
-\
pagenumbering{roman}
-
+\
frontmatter
+
\maketitle
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
\maketitle
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
@@
-70,7
+80,7
@@
\begin{quote}
\begin{quote}
- Copyright \copyright\ 2000-200
2
Simone Piccardi. Permission is granted to
+ Copyright \copyright\ 2000-200
3
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'',
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'',
@@
-81,28
+91,26
@@
\end{quote}
\clearemptydoublepage
\end{quote}
\clearemptydoublepage
+%\ifx\hcode\undefined\else
\tableofcontents
\tableofcontents
+%\fi
+
\clearemptydoublepage
\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}
\include{macro}
-\setcounter{secnumdepth}{-2}
\include{pref}
\include{pref}
-\setcounter{secnumdepth}{2}
\clearemptydoublepage
\clearemptydoublepage
-
-\pagenumbering{arabic}
+\mainmatter
\lstset{language=C++}
\lstset{basicstyle=\small,
\lstset{language=C++}
\lstset{basicstyle=\small,
- labelstyle=\tiny,
- labelstep=1,
- labelsep=2pt,
+ numbers=left,
+ numberstyle=\tiny,
+ stepnumber=1,
+ numbersep=2pt,
frame=TB,
frame=TB,
- frame
text
sep=5pt,
-
indent
=0.3cm,
+ framesep=5pt,
+
% xleftmargin
=0.3cm,
basicstyle=\ttfamily,
keywordstyle=\color{blue}\ttfamily,
ndkeywordstyle=\color{yellow}\ttfamily,
basicstyle=\ttfamily,
keywordstyle=\color{blue}\ttfamily,
ndkeywordstyle=\color{yellow}\ttfamily,
@@
-133,15
+141,16
@@
\include{network}
\include{socket}
\include{elemtcp}
\include{network}
\include{socket}
\include{elemtcp}
-\include{simpltcp}
+
%
\include{simpltcp}
\appendix
\appendix
-\include{
ipprot
}
-\include{t
cpprot
}
+\include{
netlayer
}
+\include{t
rasplayer
}
\include{errors}
\include{ringraziamenti}
\include{fdl}
% at the end put the bibliography
\include{errors}
\include{ringraziamenti}
\include{fdl}
% at the end put the bibliography
+\backmatter
%\bibliographystyle{phaip}
%\bibliography{biblio}
%\bibliographystyle{phaip}
%\bibliography{biblio}
@@
-151,4
+160,3
@@
\bibliography{biblio}
\end{document}
\bibliography{biblio}
\end{document}
-