I have a style sheet that adds the List of Figures, List of Tables, List of Algorithms and the References to the main ToC. The problem is that if I try to add, for example, the LoF using
Code: Select all
\addcontentsline{toc}{chapter}{\numberline {}List of Figures}
I have included a simple tex file, with a simplified version of a custom style sheet I use, for you to experiment with (in case there is another problem I have not tracked down

I would appreciate any suggestions...
P.S. I am using TeXnicCenter 1 Beta 7.01 and MiKteX 2.5.