[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re-enabling the display of page numbers when using mom?
From: |
Bob |
Subject: |
Re-enabling the display of page numbers when using mom? |
Date: |
Fri, 06 Jan 2023 13:12:48 -0500 |
User-agent: |
Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 |
Hello,
While using mom, I'm having trouble re-enabling the display of page numbers
after temporarily disabling them with ".PAGINATE NO".
For the sample below, the outputted PDF shows footer page numbers on the first
three pages, as I'd expect.
The fourth page shows no footer page number, also as I'd expect.
However, the page numbers don't show again for the fifth and subsequent pages,
despite ".PAGINATE" having been used in an attempt to show them again.
\####################
.TITLE "Title"
.AUTHOR "Author"
.PRINTSTYLE TYPESET
.START
Page number 1.
.NEWPAGE
Page number 2.
.NEWPAGE
Page number 3.
.NEWPAGE
.PAGINATE NO
Expected to have no page number.
.NEWPAGE
.PAGINATE
Page number 5.
.NEWPAGE
Page number 6.
.NEWPAGE
Page number 7.
\####################
I think I've done what the documentation says to do:
- "turn pagination off by invoking .PAGINATE with any argument"
- "To (re)start pagination, invoke .PAGINATE without any argument."
But I'm also very new to groff and mom, though, so maybe I'm doing something
wrong.
I'm using groff built from source from a recent clone of the git repo:
$ pdfmom -v
GNU pdfmom (groff) version 1.23.0.rc1.3655-93497
$
It's being invoked (with the sample above in the file test.mom) like:
$ pdfmom test.mom > test.pdf
Thanks for any help,
Bob
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re-enabling the display of page numbers when using mom?,
Bob <=