wspr / herries-press

A collection of LaTeX packages by Peter Wilson
http://wspr.github.com/herries-press/
30 stars 5 forks source link

tocloft and extsizes issue #15

Closed wspr closed 11 years ago

wspr commented 13 years ago

This is a weird one, but to quote the relevant snippet from Matthew Skala's excellent bug report:

When the font size is 14 or 17, the value of \cftnodots times whatever font-dependent dimension it gets multiplied with is so very large that TeX writes out a bad DVI file.

In short, we either need to work around the leaders entirely (say using \hfill instead) or scale down the large number that gets used for "no dots":

A simple workaround is to after loading tocloft give the \cftnodots macro a smaller value. Five thousand works for me:

  \renewcommand{\cftnodots}{5000}
wspr commented 11 years ago

this is now fixed