X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gapil.tex;h=bc8621d96efc774a2e6e5e6542e13a4a3bb7734d;hb=faea6309c25cc36f5552f9998f357cef6d3ae7c8;hp=0193dc99018baa5839fc7b9c04962d5f888c0136;hpb=d6636dc7afc27b7ac5b9feb214031ae1e7fd2594;p=gapil.git diff --git a/gapil.tex b/gapil.tex index 0193dc9..bc8621d 100644 --- a/gapil.tex +++ b/gapil.tex @@ -14,15 +14,20 @@ %% %% 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{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} @@ -60,8 +65,8 @@ \begin{document} -\pagenumbering{roman} - +\frontmatter + \maketitle \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty} @@ -80,18 +85,15 @@ \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++} @@ -116,6 +118,7 @@ % distance from margins for boxedminipage %\fboxsep=6pt + \include{intro} \include{process} \include{prochand} @@ -140,6 +143,7 @@ \include{fdl} % at the end put the bibliography +\backmatter %\bibliographystyle{phaip} %\bibliography{biblio} @@ -149,4 +153,3 @@ \bibliography{biblio} \end{document} -