Custom Page Numbering - Bookmarks

K

Karin

Hi, I am using bookmarks to get page numbers for a TOC (for multiple reasons).
I have update fields at print turned off.
When I enter:
{ ={ PAGEREF D_Activities \h } -1} it works fine. When I Update Fields
manually, it works fine (it's awesome and I'm so happy).
At print it does one of two things:
{ =X PAGEREF D_Activities \h X -1} (where X is actually a square box) and
gives a Syntax error
or this
{ ={ PAGEREF D_Activities \h }{ PAGEREF D_Activities \h } -1} and gives a
Missing Operator error
(it's awful and I'm so frustrated)
How can I get this to print?
 
S

Stefan Blom

Since you are using the page number returned by PAGEREF in a calculation,
try removing the \h switch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top