Altre modifiche da Mirko
authorSimone Piccardi <piccardi@gnulinux.it>
Thu, 3 Apr 2003 19:04:18 +0000 (19:04 +0000)
committerSimone Piccardi <piccardi@gnulinux.it>
Thu, 3 Apr 2003 19:04:18 +0000 (19:04 +0000)
gapil.tex

index c8491fb74fec7f2fe00f9ef28671eae30aeb0cf6..bc8621d96efc774a2e6e5e6542e13a4a3bb7734d 100644 (file)
--- a/gapil.tex
+++ b/gapil.tex
 %% 
 %% 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}
@@ -34,9 +38,6 @@
 \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} 
 %
@@ -64,8 +65,8 @@
 
 \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}
-