%        File: repr.tex
%
% (c) Copyright 2008 Andrea Lo Pumo aka AlpT <alpt@freaknet.org>
%
% This source code is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License as published 
% by the Free Software Foundation; either version 2 of the License,
% or (at your option) any later version.
%
% This source code is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% Please refer to the GNU Public License for more details.
%
% You should have received a copy of the GNU Public License along with
% this source code; if not, write to:
% Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%

\documentclass[a4paper]{article}
%%% 	 Orientamento	      %%%
%\usepackage[landscape]{geometry}
%%%			      %%%

\usepackage{xr-hyper}
\usepackage{amath}


\externaldocument[AL-]{alineare}[../lineare/alineare.pdf]
\externaldocument[CAL-]{complalg}[../complementi/complementi.pdf]
\externaldocument[AI-]{algebraI}[../1/algebraI.pdf]
\externaldocument[AII-]{algebraII}[../2/algebraII.pdf]
\externaldocument[GII-]{geometriaII}[../../geometria/2/geometriaII.pdf]
\externaldocument[AIIST-]{studiogruppi}[../2/algebraII.pdf]
\ifpdf
\newcommand{\AL}[1]{\T{[AL,\ref{AL-#1},pg.\pageref{AL-#1}]}}
\newcommand{\CAL}[1]{\T{[CAL,\ref{CAL-#1},pg.\pageref{CAL-#1}]}}
\newcommand{\AI}[1]{\T{[AI,\ref{AI-#1},pg.\pageref{AI-#1}]}}
\newcommand{\AII}[1]{\T{[AII,\ref{AII-#1},pg.\pageref{AII-#1}]}}
\newcommand{\AIIST}[1]{\T{[AII,\ref{AIIST-#1},pg.\pageref{AIIST-#1}]}}
\newcommand{\GII}[1]{\T{[GII,\ref{GII-#1},pg.\pageref{GII-#1}]}}

\else
\newcommand{\AL}[1]{\T{[AL,x.y.z,pg.xy]}}
\newcommand{\CAL}[1]{\T{[CAL,x.y.z,pg.xy]}}
\newcommand{\AI}[1]{\T{[AI,x.y.z,pg.xy]}}
\newcommand{\AII}[1]{\T{[AII,x.y.z,pg.xy]}}
\newcommand{\GII}[1]{\T{[GII,x.y.z,pg.xy]}}
\newcommand{\AIIST}[1]{\T{[AII,x.y.z,pg.xy]}}
%
% add label debugging if we are not compiling pdf.
\let\oldlabel\label
\renewcommand{\label}[1]{ [#1] \oldlabel{#1}}
\fi

\begin{document}
\title{Teoria dei caratteri per gruppi finiti}
\author{Andrea Lo Pumo}

\pagenumbering{roman}
\def\today{}
\maketitle{}

\clearpage
\tableofcontents
\clearpage
\pagenumbering{arabic}
\include{defs}
\include{parteI}

\printindex
\end{document}
