If a user wishes to include the toc file seven times before the first \writecontentsentry appears, why not? Sure, of course it's good to support that. As long as the tocfile gets rewritten before the first entry is written, it seems like it should be fine. Have to do some testing to be sure, I guess. Thanks, k