\documentclass{article}
\usepackage[dvips]{graphicx}
\usepackage{francais}
\usepackage{html}
\usepackage{makeidx}
%begin{latexonly}
\usepackage[T1]{fontenc}
%end{latexonly}

\internal{../ex31/}
\internal[sections]{../ex31/}
%\internal[contents]{../ex31/}
\internal[figure]{../ex31/}
\internal[index]{../ex31/}

\internal{../ex32/}
\internal[sections]{../ex32/}
%\internal[contents]{../ex32/}
\internal[table]{../ex32/}
\internal[index]{../ex32/}

\makeindex
\title{Exemple d'un document segment�}
\author{Ross Moore \& Michel Goossens}

\begin{document}
\maketitle\htmlrule
\tableofchildlinks\htmlrule
%begin{latexonly}
\tableofcontents
%end{latexonly}
\listoffigures\listoftables\htmlrule

\segment{ex31}{section}{Une figure EPS}
\endsegment[section]
\html{R�f�rence � figure~\ref{Fpsfig}.}

\segment{ex32}{section}{Exemple d'un tableau}
\endsegment[section]
\html{R�f�rence � tableau~\ref{tab-exa}.}
\htmlrule \input{ex3bib}
\htmlrule \printindex \htmlrule
\end{document}