
%% $Id$

\documentclass[12pt,a4paper,fleqn]{report}
\usepackage{latexsym,graphicx}
\usepackage{../iman,../extra,../isar,../proof}
\usepackage{Thy/document/isabelle,Thy/document/isabellesym}
\usepackage{../ttbox,,../rail,../railsetup}
\usepackage{style}
\usepackage{../pdfsetup}

\hyphenation{Isabelle}
\hyphenation{Isar}

\isadroptag{theory}
\title{\includegraphics[scale=0.5]{isabelle_isar} \\[4ex] The Isabelle/Isar Reference Manual}
\author{\emph{Markus Wenzel} \\ TU M\"unchen}

\makeindex

\railterm{percent,ppercent,underscore,lbrace,rbrace,atsign}
\railterm{ident,longident,symident,var,textvar,typefree,typevar,nat,string,verbatim,keyword}
\railterm{name,nameref,text,type,term,prop,atom}

\railalias{ident}{\railtok{ident}}
\railalias{longident}{\railtok{longident}}
\railalias{symident}{\railtok{symident}}
\railalias{var}{\railtok{var}}
\railalias{textvar}{\railtok{textvar}}
\railalias{typefree}{\railtok{typefree}}
\railalias{typevar}{\railtok{typevar}}
\railalias{nat}{\railtok{nat}}
\railalias{string}{\railtok{string}}
\railalias{verbatim}{\railtok{verbatim}}
\railalias{keyword}{\railtok{keyword}}

\railalias{name}{\railqtok{name}}
\railalias{nameref}{\railqtok{nameref}}
\railalias{text}{\railqtok{text}}
\railalias{type}{\railqtok{type}}
\railalias{term}{\railqtok{term}}
\railalias{prop}{\railqtok{prop}}
\railalias{atom}{\railqtok{atom}}

\railalias{subseteq}{\isasymsubseteq}\railterm{subseteq}
\railalias{equiv}{\isasymequiv}\railterm{equiv}
\railalias{rightleftharpoons}{\isasymrightleftharpoons}\railterm{rightleftharpoons}
\railalias{rightharpoonup}{\isasymrightharpoonup}\railterm{rightharpoonup}
\railalias{leftharpoondown}{\isasymleftharpoondown}\railterm{leftharpoondown}

\chardef\charbackquote=`\`
\newcommand{\backquote}{\mbox{\tt\charbackquote}}

\newcommand{\drv}{\mathrel{\vdash}}
\newcommand{\edrv}{\mathop{\drv}\nolimits}
\newcommand{\Or}{\mathrel{\;|\;}}

\renewcommand{\vec}[1]{\overline{#1}}

\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}

\pagestyle{headings}
\sloppy
\binperiod     %%%treat . like a binary operator

\renewcommand{\phi}{\varphi}


\begin{document}

\underscoreoff

\maketitle 

\pagenumbering{roman} \tableofcontents \clearfirst

\input{Thy/document/intro.tex}
\input{basics.tex}
\input{Thy/document/syntax.tex}
\input{Thy/document/pure.tex}
\input{Thy/document/Generic.tex}
\input{logics.tex}

\appendix
\input{Thy/document/Quick_Reference.tex}
\input{conversion.tex}

\begingroup
  \bibliographystyle{plain} \small\raggedright\frenchspacing
  \bibliography{../manual}
\endgroup

\printindex

\end{document}
