groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Roman Numeral Page Numbers Error on Page Breaks


From: Alejandro López-Valencia
Subject: Re: [Groff] Roman Numeral Page Numbers Error on Page Breaks
Date: Sun, 11 Apr 2004 19:19:40 -0500

At 03:52 p.m. 11/04/2004, Alejandro López-Valencia wrote:
On Sun, 11 Apr 2004 13:04:53 -0500 (CDT), Andrew J. Piziali wrote in <address@hidden>:


Initially the headers and footers are undefined except for the center header and footer, with the following definitions:

        .ds CH "- \\n(PN -
        .ds CF "\\*(DY

Where number register PN is the current page number and string register DY stores the current date in the format "Month Day, Year". (s.tmac has the answers to to this and more...) Yo'll need to redefine the macro where you want roman numbering with your own counter and restore the original definition where you want to start arabic numbering in your document.

Yikes!

The definitions above are for ATT DWB 3.4/5/6. That happens when you answer from your desk reference rather than from actually reading the source code (hint, hint).

In GNU ms, the definitions are slightly different and take advantage of groff's syntax:

        .ds CH "-\\n[PN]-  \" Shouldn't the different spacing
                           \" this be considered a bug?
        .ds CF "\\*[DY]



Alejandro López-Valencia
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]