TIP: Click on subject to list as thread! ANSI
echo: wperfect
to: KURT FOSTER
from: BILL WHITE
date: 1996-12-17 00:00:00
subject: Page Numbering

KF> * In a message originally to Bob Schaffer, Herb Palm said
KF> (regarding the infamous "Page x of N" page-numbering
KF> problem):
KF>  > I have done this manually before but for page numbering to work,
you
KF>  > had to know the total nuber of pages first, not with the macro.
KF>  >
KF>   Curiously, WP 6.0 for DOS allows you to do this, though it is
cumbersome.
     Here's a macro that does it for you.  If you
change the number of pages, just run it again to
update:
//*************************************************************
//As published in: WordPerfect Magazine
//"Tips," November, 1995
//(c) Copyright 1995, WordPerfect, the Novell Applications Group
//*************************************************************
DISPLAY(Off!)
PosDocTop
FooterA(Create!)
Center
Type("Page ")
PageNumberDisplayFormat
Type(" of ")
CrossRefMarkReference("Page";RefPage!)
SubstructureExit
PosDocBottom
CrossRefMarkTarget("Page")
PosDocTop
GenerateDoc(Save!;NoUndo!)
  FIDO: Bill White @ 1:135/110 (Miami)
 InterNet: bill.white@110.sunshine.com
 * SLMR 2.1a * Put on old clothes before you get out the paint brushes!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.