reset lengths for screen display

Also reset footnote counter each chapter.