🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #5639

Re: Need to change table of contents page numbering in MM

#5639
From: Michael Morrell
Date: Fri, 06 Jan 1989 17:32
23 lines
1092 bytes
/ hpsal2:comp.text / daw@houxs.ATT.COM (David Wolverton) /  2:32 pm  Jan  5, 1989 /
I'm writing an "appendix" macro in troff with MM macros.  I want
the pages numbered like A-1, A-2, etc.  I can get this numbering
at the top of the pages themselves, but the page numbers listed
in the table of contents (TOC) come out as 1.

Anybody have an idea?

Dave Wolverton
...!att!houxs!daw or daw@houxs.att.com
----------

Try using the following:

  .HM A
  .nr H1 0

before your first appendix.  This will set the heading style for the
top level section to A, B, C, ... .  Then you can use

  .H 1 "Appendix"

and the table of contents should be fine.
Technical Details
Message-ID: <2610019@hpsal2.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpsal2!morrell
References: <1104@houxs.ATT.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpsal2!morrell
From: morrell@hpsal2.HP.COM (Michael Morrell)
Newsgroups: comp.text
Subject: Re: Need to change table of contents page numbering in MM
Message-ID: <2610019@hpsal2.HP.COM>
Date: 6 Jan 89 17:32:18 GMT
References: <1104@houxs.ATT.COM>
Organization: HP System Architecture Lab, Cupertino
Lines: 23