\documentclass{article}
\usepackage{macros}
\toplinks{}{index.html}{}
\renewcommand{\cuttingunit}{section}


\begin{document}
\section{First section}\cutname{one.html}
Premier en tout.
\section{Second section}\cutname{two.html}
Second de personne.
\section{Third section}\cutname{three.html}
Jamais deux sans trois.
\section{Fourth section}\cutname{four.html}
\`A quatre pattes
\end{document}
