Checksum: 01280
Lines: 35
Path: utzoo!sq!msb
From: msb@sq.uucp (Mark Brader)
Date: Fri, 26-Aug-88 13:24:23 EDT
Message-ID: <1988Aug26.132423.12467@sq.uucp>
Newsgroups: comp.text
Subject: Re: Problems With -MS (putting roman page numbers at page bottoms)
Summary: .ds CF \\n(PN
References: <823@helios.ee.lbl.gov>
Reply-To: msb@sq.com (Mark Brader)
Organization: SoftQuad Inc., Toronto

Jon Forrest, wanting roman page numbers centered at the bottom of each
page using -ms, writes:

>	.ds CH
>	.ds CF %
>	.af PN i
> 
> [gives] no page numbers at all.

I suspect that you actually tried ".af PN i" in the above sequence,
found that you got ordinary page numbers, then tried ".af % i", and
THEN found that you got none.  I can't reproduce the above, anyway.

But I can produce the desired effect, like this:

	.ds CH
	.ds CF \\n(PN
	.af PN i

The % character that you put into the string CF causes the insertion of
the page number because \*(CF ends up being used in a .tl request, and
the character % (or such other character as is specified by .pc) in a .tl
is taken as \n%.  That is, it uses the internal page number number register,
named %, directly.  But changing the format of number register % to i doesn't
work either, because \n% is also used by -ms in numeric contexts, and must
have a numerical format there.

Putting a direct invocation of the PN number register into the string CF, as
shown above, does work.

Mark Brader, SoftQuad Inc., Toronto, utzoo!sq!msb, msb@sq.com
		... shalle come by day much great code ...
		The Soft grey and redd shall thrive, driving out substandard.
		The Q long shalle be, but there shalle be no waiting.
			-- Nostradamus predicts good times for SoftQuad
