# custom TOC text overflow

After customizing my Table of contents as shown below, my toc overflows onto the footer and doesn't go to the next page.

Here is the toc customization I have done :

\chtocfont is for using Helvetica as a font for the chapter content line, \sectocfont for using the Lucidia Grande as font for the content line.

Here is a screen shot of the issue I am having. Note that some entries from the toc are not shown at all.

the follow link contains a paste of a tex example show the problem i have : http://pastebin.tlhiv.org/KZus0jGD

-
Please edit your question to include a complete example that reproduces the problem. Without this it will be difficult for anyone to help you. – Ian Thompson Jul 1 '13 at 15:25
Welcome to TeX.SX, by the way. – Ian Thompson Jul 1 '13 at 15:25
You're using two conflicting packages: either use tocloft or titletoc, not both. If I remove \usepackage{tocloft} and the \renewcommand{\cftdot}{...} line, there is no problem. – egreg Jul 1 '13 at 16:36
it works just by remove \usepackage{tocloft}. thanks a lot @egreg – lcz1 Jul 1 '13 at 16:57