X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=gapil.tex;h=bc8621d96efc774a2e6e5e6542e13a4a3bb7734d;hp=06791aa8178e2614a09c14462b7cf0adb216dc3f;hb=faea6309c25cc36f5552f9998f357cef6d3ae7c8;hpb=1639f660dadb609be0b033750075cab883bdd0b4 diff --git a/gapil.tex b/gapil.tex index 06791aa..bc8621d 100644 --- a/gapil.tex +++ b/gapil.tex @@ -1,19 +1,33 @@ +%% gapil.tex +%% +%% 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". %% %% GaPiL : Guida alla Programmazione in Linux %% %% S. Piccardi Oct. 2000 %% -%% main.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} +\documentclass[a4paper,11pt,twoside]{book} +%\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{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{} +\newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{} \usepackage{cite} \usepackage{amsmath} \usepackage{amsfonts} @@ -21,8 +35,9 @@ \usepackage{listings} \lstloadlanguages{C++} \usepackage{color} -\usepackage{mdwlist} -\usepackage{boxedminipage} +\usepackage{mdwlist} % scommentare per la stampa (PS e PDF) +\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF) +\usepackage{multirow} %\usepackage{footnote} %\usepackage{mdwtab} % @@ -42,7 +57,7 @@ %\includeonly{macro,pref,intro,fdl} \title{\Huge \textbf{\textsl{G}a\textsl{P}i\textsl{L}}\\ -\huge Guida alla Programmazione in Linux.} +\huge Guida alla Programmazione in Linux} \author{Simone Piccardi} @@ -50,8 +65,8 @@ \begin{document} -\pagenumbering{roman} - +\frontmatter + \maketitle \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty} @@ -70,17 +85,15 @@ \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++} @@ -105,6 +118,7 @@ % distance from margins for boxedminipage %\fboxsep=6pt + \include{intro} \include{process} \include{prochand} @@ -114,8 +128,8 @@ \include{filestd} \include{system} \include{signal} -\include{fileadv} \include{session} +\include{fileadv} \include{ipc} \include{network} \include{socket} @@ -129,13 +143,13 @@ \include{fdl} % at the end put the bibliography +\backmatter %\bibliographystyle{phaip} %\bibliography{biblio} \printindex -\bibliographystyle{alpha} +\bibliographystyle{ieeetr} \bibliography{biblio} \end{document} -