🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Robert LoVerso Mon, 31 Aug 1992 03:13
-me macros: bug with chapter type
#154
Author: John Robert LoVerso
Date: Mon, 31 Aug 1992 03:13
51 lines
1620 bytes
Index: misc net2

Description:
	If a paper has a ".++ P" section (numbered in roman numerals)
	followed by a ".++ C" section (numbered in digits, from 1),
	the page numbers will go "i, 2, 1, 2, ...".  This is because
	a ".pn 1" is used after the .++ macro ends the page.  This exists
	in all copies of tmac.e I've seen.  I'm working with the one
	from bnr2:
		tmac.e	2.35 (Berkeley) 4/17/91

Repeat-By:
	Use a paper like:
		.he ''%''
		.++ P
		(page i)
		.++ C
		(should be page 1, but is page 2)
		.bp
		(should be page 2, but is page 1)
		.bp
		(should be page 3, but is page 2)

Fix:
	Move the reset-of-page-number for when leaving a .++ P section
	to before the ".ep".

*** tmac.e.bnr2	Sun Aug 30 23:00:38 1992
--- tmac.e	Sun Aug 30 23:01:02 1992
***************
*** 997,1002 ****
--- 997,1004 ----
  .nr ch 0 1
  .if (\\n(_0=3):(\\n(_0=5) \
  .	pn 1			\" must do before .ep
+ .if !\\n(_0=\\n(_M .if \\n(_M=3 \
+ .	pn 1			\" must do before .ep
  .ep				\" end page for correct page number types
  .if \\n(_0=1 \
  \{\
***************
*** 1016,1023 ****
  .	af % 1
  .if \\n(.$>1 \
  .	he \\$2
- .if !\\n(_0=\\n(_M .if \\n(_M=3 \
- .	pn 1
  .nr _M \\n(_0
  .rr _0
  ..
--- 1018,1023 ----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads