Hi all,

I want the section numbering to restart for each part in the article class. The only way I have devised is a simple hack in the LaTeX preamble:

\let\oldpart\part
\renewcommand{part}[1]{\oldpart{#1}
\setcounter{section}{0}}

This works great, except for the Table of Contents. When I generate a PDF, every Section N links to the first Section N; e.g., clicking on Part III, Section 2 takes me down to Part I, Section 2.

I understand that I can define a new counter with \newcounter{newsection}[part] to reset when I want it to. Is there a way to force sections to display this new counter while still being linked with the old one? If not, is there another way to solve my problem?

Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7)

--Andrew Hills

Reply via email to