\documentclass[11pt,a4paper]{book}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{url}
\usepackage{verbatim}
\usepackage{palatino}
\usepackage{url}

\makeatletter

%\includeonly{RefMan-syn.v,Cases.v,Coercion.v}

\input{./macros.tex}% extension .tex pour htmlgen
\input{./title.tex}% extension .tex pour htmlgen
\input{./headers.tex}% extension .tex pour htmlgen

\makeatother

\begin{document}
\tophtml{}
\coverpage{Reference Manual}{The Coq Development Team}

%\defaultheaders
\include{RefMan-int}% Introduction
\include{RefMan-pre}% Credits

\tableofcontents

\part{The language}
\defaultheaders
\include{RefMan-gal.v}% Gallina
\include{RefMan-ext.v}% Gallina extensions
\include{RefMan-lib.v}% The coq library
\include{RefMan-cic.v}% The Calculus of Constructions

\part{The proof engine}
\include{RefMan-oth.v}% Vernacular commands
\include{RefMan-pro}% Proof handling
\include{RefMan-tac.v}% Tactics and tacticals
\include{RefMan-tacex.v}% Detailed Examples of tactics

\part{User extensions}
\include{RefMan-syn.v}% The Syntax and the Grammad commands
%%SUPPRIME \include{RefMan-tus.v}% Writing tactics
%%REMPLACE PAR
\include{RefMan-ltac.v}% Writing tactics

\part{Practical tools}
\include{RefMan-com}% The coq commands (coqc coqtop)
\include{RefMan-uti}% utilities (gallina, do_Makefile, etc)

\include{AddRefMan-pre}%
\include{Cases.v}%
\include{Coercion.v}%
%%SUPPRIME \include{Natural.v}%
\include{Omega.v}%
%%SUPPRIME \include{Program.v}%
\include{Correctness.v}% = preuve de pgms imperatifs
\include{Extraction.v}%
\include{Polynom.v}%  = Ring
\include{Setoid.v}% Tactique pour les setoides
\addtocontents{sh}{ENDADDENDUM=\thepage}

\nocite{*}
\bibliographystyle{plain}
\bibliography{biblio}
\addtocontents{sh}{psselect -q -p-$ENDREFMAN,$BEGINBIBLIO- Reference-Manual.ps Reference-Manual-base.ps}
\addtocontents{sh}{psselect -q -p$BEGINADDENDUM-$ENDADDENDUM Reference-Manual.ps Reference-Manual-addendum.ps}
\addtocontents{sh}{dviselect -i Reference-Manual.dvi -o Reference-Manual-base.dvi 1-$ENDREFMAN $BEGINBIBLIO-}
\addtocontents{sh}{dviselect -i Reference-Manual.dvi -o Reference-Manual-addendum.dvi $BEGINADDENDUM-$ENDADDENDUM}

\printindex

\printindex[tactic]

\printindex[command]

\printindex[error]

\end{document}


% $Id$ 
