%
%
%     Test comportement LATEX et LATEX2HTML
%
%
%
\documentclass[dvips]{report}
\usepackage{makeidx}
\usepackage{a4}
\usepackage{graphicx}
%
% Pour definir un paragraph avec retour a la ligne
\usepackage{loc}
%
\usepackage{html,htmllist}
% \usepackage{times}
\scrollmode
% use %sort -f -u manual.idx > manual.index for a primitive index
%
%  NOTE:  You must use LaTeX2e in order to process this document
%	If you do not have LaTeX2e, a PostScript version
%	(manual.ps) is included with this distribution.
%
%%%%%%%%%%%%%%%%%%% No changes beyond this point %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\makeindex
\sloppy
% Transforms the \indexentry generated by \makeindex in the concepts.idx
% file into a form understood by the theindex environment.
% See below on how to produce an index.
%
\newcommand{\latextohtml}{\LaTeX 2\texttt{HTML}}
\newcommand{\fn}[1]{{\ttfamily #1}}	% file names
\newcommand{\Email}[1]{{\ttfamily <#1>}}% file names
\newcommand{\HTML}[1]{{\ttfamily <#1>}}%  HTML tag
\newcommand{\Meta}[1]{\texttt{<\emph{#1}>}}%  Meta string
\newcommand{\indexentry}[2]{\item #1 #2}
\def\contrat{contrat numero N de l'ESA}
\newcommand{\onlinedoc}{http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/}
\newcommand{\patches}{http://www-dsed.llnl.gov/files/programs/unix/latex2html}
\newcommand{\sourceA}{ftp://www-dsed.llnl.gov/files/programs/unix/latex2html/sources/latex2html-96.1.tar.gz}
\newcommand{\sourceB}{ftp://ftp.mpn.com/pub/nikos/latex2html-96.1.tar.gz}
\newcommand{\sourceC}{ftp://ftp.rzg.mpg.de/outgoing/latex2html-96.1.tar.gz}
\newcommand{\CTAN}{tex-archive/support/latex2html}

%\setlength{\textwidth}{5.5in}
%\setlength{\textwidth}{16cm}
%\setlength{\changebarwidth}{1pt}
%\addtolength{\oddsidemargin}{-1in}
%\addtolength{\oddsidemargin}{-2cm}
%\addtolength{\evensidemargin}{-1in}
%\addtolength{\evensidemargin}{-2cm}
 
% numero de la derniere section numerotee
\setcounter{secnumdepth}{3}
% numero de la derniere section a apparaitre dans la table des matieres
\setcounter{tocdepth}{3}
 

\begin{document}
\bibliographystyle{abbrv}

\input{def}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%    variables definies pour doc Terre ou Mars

\def\planete{mars}
\def\italique{{\it mars}}
\def\planeteX{mars/}
\def\STARTFI{startfi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




planete sans espace -\planete-\\
italique -\italique-\\
planete en italique -{\it \planete}-\\

planeteX sans espace -\planeteX-\\
planete avec espace -\planete -\\
planete avec /  -\planete/coucou\\
STARTFI sans espace -\STARTFI-\\
STARTFI avec espace -\STARTFI -\\


% lorsqu'on appelle une variable definie au prealable dans une nouvelle
%commande, latex2html ajoute un blanc apres cette variable.

\def\OK#1#2{\planete/#1/#2.html}
ecrit OK: \OK{dyn3d}{lectba}\\
ecrit OK: mars/dyn3d/lectba.html\\

ATTENTION: latex2html n'aime pas les \def\nom ou nom contient un
chiffre!\\


\def\sourceF#1#2{\htmladdnormallink{#2}{#1}}


\sourceF{dyn3d}{lectba}

\end{document}
