[texhax] TOC problems

Andy Farnell padawan12 at obiwannabe.co.uk
Thu Oct 16 16:12:21 CEST 2008



Yep, that's got it!

Thankyou very much Donald.

Andy

On 15 Oct 2008 20:41:25 -0700
Donald Arseneau <asnd at triumf.ca> wrote:

> Andy Farnell <padawan12 at obiwannabe.co.uk> writes:
> 
> > On the last page of my table of contents LaTeX seems to ignore
> > the bottom margin and it all runs off the bottom of the page.
> > 
> > I'm using tocloft class to try and improve the look but not
> > having much fun.
> 
> Reeeeely stupid bug in tocloft's \l at part, which makes a 
> local setting of \everypar
> 
>     \global\@nobreaktrue
>     \everypar{\global\@nobreakfalse\everypar{}}
> 
> immediately followed by \endgroup (to erase the setting).
> The effect is that any "part" entry in the TOC prevents
> page breaks in the rest of the TOC.   The \endgroup should
> be moved up to before \if at cfthaschapter.
> 
> 
> -- 
> Donald Arseneau                          asnd at triumf.ca
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org


-- 
Use the source


More information about the texhax mailing list