Re: Autotext page numbering problemo

Subject: Re: Autotext page numbering problemo
From: "Miriam McGinty-Lowe" <Miriam_McGinty-Lowe -at- MDSUK -dot- COM>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 12 Jun 2001 12:25:59 +0100

Sorry for the delay in getting back to you on this one.

Doug Grossman asked: Does anyone know how to manipulate the second number in the
running-total page number thing? I'm using the autotext entry "Page x of y."

I've had a similar problem where my cover sheet has no page number, my TOC is
numbered i, ii, iii etc and my body document is numbered page x of y.

I considered doing the first page is -2 thing, but I was writing a template for
users creating documents that might be any size and I couldn't guarentee how
many pages their TOC would cover.

In the end I added a hidden bookmark called 'firstpages' just after the index,
then added the page numbering formula

Page {PAGE} of { = ({NUMPAGES} -1) - {PAGEREF firstpages \* Arabic

The \* Arabic is really important, otherwise Word doesn't know that 30 - iii is

When I open a document numbered this way Word sometimes decides to display the y
figure as a negative number, but it always clears up on print, or if you force
Word to update fields a couple of times.

This formula hasn't broken...


Hope this helps,



*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems
Available now at or info -at- devahelp -dot- com

Sponsored by Cub Lea, specialist in low-cost outsourced development
and documentation. Overload and time-sensitive jobs at exceptional
rates. Unique free gifts for all visitors to

You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Previous by Author: RE: HTML docs
Next by Author: RE: sites for robohelp tutorials
Previous by Thread: RE: Autotext page numbering problemo
Next by Thread: XML book

What this post helpful? Share it with friends and colleagues:

Sponsored Ads