I forgot to mention my Ockham's Razor approach to this is to ask "Why do folk need to know how long a document is?" If the answer is so they know that they have the whole document (is there another reason?) then simply put an end of section marker (at the most appropriate places!!) and an end of document marker on the final page. Saves a lot of mucking around. Cheers, Terry Send instant messages to your online friends http://au.messenger.yahoo.com ************************************************** To post a message to austechwriter, send the message to austechwriter@xxxxxxxxxxxxxx To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field. To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field. To search the austechwriter archives, go to www.freelists.org/archives/austechwriter To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx **************************************************