%%
%% gapil.tex: file principale, gli altri vanno inclusi da questo.
%%
-\documentclass[a4paper,11pt,twoside,italian]{book}
-%\usepackage{tex4ht}
+\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}
\usepackage{mdwlist} % scommentare per la stampa (PS e PDF)
\usepackage{boxedminipage} % scommentare per la stampa (PS e PDF)
\usepackage{multirow}
-\usepackage[T1]{fontenc}
-\newcommand{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{}
-\newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{}
%\usepackage{footnote}
%\usepackage{mdwtab}
%
\begin{document}
-\pagenumbering{roman}
-
+\frontmatter
+
\maketitle
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
\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++}
\include{fdl}
% at the end put the bibliography
+\backmatter
%\bibliographystyle{phaip}
%\bibliography{biblio}
\bibliography{biblio}
\end{document}
-