From: Simone Piccardi Date: Sat, 23 Jun 2001 11:28:57 +0000 (+0000) Subject: Rinominato main.tex -> gapil.tex X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=commitdiff_plain;h=8d0936596f6a01edb803c0910c546267ec92fe88 Rinominato main.tex -> gapil.tex --- diff --git a/gapil.tex b/gapil.tex new file mode 100644 index 0000000..2564ee7 --- /dev/null +++ b/gapil.tex @@ -0,0 +1,121 @@ +%% +%% GaPiL : Guida alla Programmazione in Linux +%% +%% S. Piccardi Feb. 2001 +%% +%% main.tex: file principale, gli altri vanno inclusi da questo. +%% +\documentclass[a4paper,11pt,twoside,italian]{book} +\usepackage[latin1]{inputenc} +\usepackage{booktabs} +\usepackage{pstcol} +\usepackage{pst-node} +\usepackage{graphicx} +\usepackage{babel} +\usepackage{cite} +\usepackage{amsmath} +\usepackage{amsfonts} +\usepackage[hang,bf,footnotesize,it]{caption2} +\usepackage{listings} +\lstloadlanguages{C++} +\usepackage{color} +% +% Setting page layout +% +\oddsidemargin=0.5cm +\evensidemargin=-0.5cm +\textwidth=16cm +\textheight=24.2cm +\topmargin=-1.cm +%\setcaptionmargin{2cm} +%\renewcommand{\chaptername}{Capitolo} +%\renewcommand{\contentsname}{Indice} +%\renewcommand{\bibname}{Bibliografia} +\pagestyle{headings} + +%\includeonly{macro,pref,intro,fdl} + +\title{Guida alla Programmazione in Linux.} + +\author{Simone Piccardi} + +\begin{document} + +\pagenumbering{roman} + +\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''. + +\end{quote} +\clearemptydoublepage + + +\tableofcontents +\clearemptydoublepage + + +\include{macro} +\setcounter{secnumdepth}{-2} +\include{pref} +\setcounter{secnumdepth}{2} +\clearemptydoublepage + +\pagenumbering{arabic} + +\lstset{language=C++} + +\lstset{basicstyle=\small, + labelstyle=\tiny, + labelstep=1, + labelsep=2pt, + frame=TB, + frametextsep=5pt, + basicstyle=\ttfamily, + keywordstyle=\color{blue}\ttfamily, + ndkeywordstyle=\color{yellow}\ttfamily, +% rdkeywordstyle=\ttfamily, + identifierstyle=\ttfamily, + commentstyle=\color{red}\ttfamily, + stringstyle=\color{green}\ttfamily, +% texcsststyle=\ttfamily, + directivestyle=\color{magenta}\ttfamily +} +\include{intro} +\include{fileintro} +\include{filedir} +\include{fileunix} +\include{filestd} +\include{process} +\include{prochand} +\include{signal} +\include{ipc} +\include{network} +\include{socket} +\include{elemtcp} +\include{simpltcp} +\include{app_a} +\include{app_b} +\include{fdl} + + + +% at the end put the bibliography + +%\bibliographystyle{phaip} +%\bibliography{biblio} + +\end{document} + diff --git a/main.tex b/main.tex deleted file mode 100644 index 6551c98..0000000 --- a/main.tex +++ /dev/null @@ -1,122 +0,0 @@ -%% -%% GaPiL : Guida alla Programmazione in Linux -%% -%% S. Piccardi Feb. 2001 -%% -%% main.tex: file principale, gli altri vanno inclusi da questo. -%% -\documentclass[a4paper,11pt,twoside,italian]{book} -\usepackage[latin1]{inputenc} -\usepackage{booktabs} -\usepackage{pstcol} -\usepackage{pst-node} -\usepackage{graphicx} -\usepackage{babel} -\usepackage{cite} -\usepackage{amsmath} -\usepackage{amsfonts} -\usepackage[hang,bf,footnotesize,it]{caption2} -\usepackage{listings} -\lstloadlanguages{C++} -\usepackage{color} -% -% Setting page layout -% -\oddsidemargin=0.5cm -\evensidemargin=-0.5cm -\textwidth=16cm -\textheight=24.2cm -\topmargin=-1.cm -%\setcaptionmargin{2cm} -%\renewcommand{\chaptername}{Capitolo} -%\renewcommand{\contentsname}{Indice} -%\renewcommand{\bibname}{Bibliografia} -\pagestyle{headings} - -%\includeonly{macro,pref,intro,fdl} - -\title{Guida alla Programmazione in Linux.} - -\author{Simone Piccardi} - -\begin{document} - -\pagenumbering{roman} - -\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''. - - -\end{quote} -\clearemptydoublepage - - -\tableofcontents -\clearemptydoublepage - - -\include{macro} -\setcounter{secnumdepth}{-2} -\include{pref} -\setcounter{secnumdepth}{2} -\clearemptydoublepage - -\pagenumbering{arabic} - -\lstset{language=C++} - -\lstset{basicstyle=\small, - labelstyle=\tiny, - labelstep=1, - labelsep=2pt, - frame=TB, - frametextsep=5pt, - basicstyle=\ttfamily, - keywordstyle=\color{blue}\ttfamily, - ndkeywordstyle=\color{yellow}\ttfamily, -% rdkeywordstyle=\ttfamily, - identifierstyle=\ttfamily, - commentstyle=\color{red}\ttfamily, - stringstyle=\color{green}\ttfamily, -% texcsststyle=\ttfamily, - directivestyle=\color{magenta}\ttfamily -} -\include{intro} -\include{fileintro} -\include{filedir} -\include{fileunix} -\include{filestd} -\include{process} -\include{prochand} -\include{signal} -\include{ipc} -\include{network} -\include{socket} -\include{elemtcp} -\include{simpltcp} -\include{app_a} -\include{app_b} -\include{fdl} - - - -% at the end put the bibliography - -%\bibliographystyle{phaip} -%\bibliography{biblio} - -\end{document} -