\documentclass[12pt,a4paper,twoside]{report}
\usepackage{pstricks}
\usepackage{amsfonts}
\usepackage{minitoc}
\setcounter{minitocdepth}{2}
\usepackage[bookmarks=true, 
            bookmarksnumbered=true, 
            bookmarksopen=false, 
            plainpages=false,
            pdfpagelabels,
            colorlinks, 
            linkcolor=blue]{hyperref}
\usepackage{ifthen}
\usepackage{graphicx}

\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}

\newboolean{mtc}
\setboolean{mtc}{true}

\pdfoutput=1
\relax
\pdfcompresslevel=0             %-- 0 = none, 9 = best
\pdfinfo{                       %-- Info dictionary of PDF output  /Author (Alfredo Buttari)
  /Title (Parallel Sparse BLAS V. 2.0)
  /Subject (Parallel Sparse Basic Linear Algebra Subroutines)
  /Keywords (Computer Science Linear Algebra Fluid Dynamics Parallel Linux MPI PSBLAS Iterative Solvers Preconditioners)
  /Creator (pdfLaTeX)
  /Producer ($Id$)
}
\pdfcatalog{          %-- Catalog dictionary of PDF output.
  %/PageMode
  %/UseNone
  %/UseOutlines
  %/UseThumbs
  %/FullScreen
  /URI (http://ce.uniroma2.it/psblas)
} 
%openaction goto page 1 {/Fit}


%\usepackage{ucs}
%\usepackage[utf8x]{inputenc}

%\addtolength{\hoffset}{-0.5cm}
%\addtolength{\textwidth}{1.5cm}

\title{Parallel Sparse BLAS V. 2.0: user's guide}
\author{
Alfredo Buttari\thanks{
%Computer Science Engineering Dept.
Tor Vergata University, Rome, Italy},
Salvatore Filippone\addtocounter{footnote}{-1}\footnotemark
}
\date{\today}


\begin{document}
\maketitle
\ifthenelse{\boolean{mtc}}{\dominitoc}{}
 \newcommand{\ns}{\normalsize}
 \newcommand{\fs}{\footnotesize}
 \newcommand{\sz}{\scriptsize}
 \newcommand{\sm}{\small}
 \newcommand{\doublespace}{\addtolength{\baselineskip}{.5\baselineskip}}
 \newcommand{\und}{\underline}
 \newcommand{\bi}{\begin{itemize}}
 \newcommand{\ei}{\end{itemize}}

 \newcommand{\ls}[1]
    {\dimen0=\fontdimen6\the\font
     \lineskip=#1\dimen0
     \advance\lineskip.5\fontdimen5\the\font
     \advance\lineskip-\dimen0
     \lineskiplimit=.9\lineskip
     \baselineskip=\lineskip
     \advance\baselineskip\dimen0
     \normallineskip\lineskip
     \normallineskiplimit\lineskiplimit
     \normalbaselineskip\baselineskip
     \ignorespaces}

 \newcommand{\thls}{\ls{1.35}}
 \newcommand{\tabls}{\ls{1.2}}

% \begingroup
%   \renewcommand*{\thepage}{Title}
%   \include{committee}
% \endgroup 

% \begingroup
%   \renewcommand*{\thepage}{ack}
%   \include{ack}
% \endgroup 

\begingroup
  \renewcommand*{\thepage}{toc}
  \pagenumbering{roman}   % Roman numbering
  \setcounter{page}{1}    % Abstract start on page ii
  \thls
  \tableofcontents
\endgroup  

%\listoffigures
%\listoftables

\newpage

\pagenumbering{arabic}  % Arabic numbering
\setcounter{page}{1}    % Chapters start on page 1

% HEADER and FOOTER 
\pagestyle{headings}

\renewcommand{\chaptermark}[1]%
  {\markboth{\ #1 \hspace{0.3cm}Chapter \thechapter}{}} 
\renewcommand{\sectionmark}[1]%
  {\markright{Section \thesection.\ \hspace{0.3cm}#1}}






\end{document}
%%% Local Variables: 
%%% mode: latex
%%% TeX-master: 'userguide'
%%% End: