bug-groff
[Top][All Lists]
Advanced

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

[bug #61646] [me] line numbering doesn't work as documented


From: G. Branden Robinson
Subject: [bug #61646] [me] line numbering doesn't work as documented
Date: Sun, 2 Jan 2022 01:40:35 -0500 (EST)
User-agent: Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.6.7

Follow-up Comment #5, bug #61646 (project groff):

Here's how roff(1) behaved on Unix V7, which is as far as I care
to chase this particular goose.  I "ported" my me(7) input
document to the old system.  I also killed the vertical margins
and shortened the page length.

Input:

$ cat > n1n2.roff
.pl 19
.m1 0
.m2 0
.m3 0
.m4 0
.ll 60
Feck, vex loping bad jazz: quench my thirst.
Feck, vex loping bad jazz: quench my thirst.
.sp
.n1
Jackdaws love my big sphinx of quartz.
Jackdaws love my big sphinx of quartz.
Jackdaws love my big sphinx of quartz.
.sp
How vexingly quick daft zebras jump!
.sp
.n2 +6
Waltz, bad nymph, for quick jigs vex.
Waltz, bad nymph, for quick jigs vex.
.sp
.n2 99
Pack my box with five dozen liquor jugs.
Pack my box with five dozen liquor jugs.
Pack my box with five dozen liquor jugs.
.sp
.n2 0
The five boxing wizards jump quickly.
The five boxing wizards jump quickly.
$ roff n1n2.roff

Feck, vex loping bad jazz:  quench  my  thirst.   Feck,  vex
loping bad jazz: quench my thirst.

  1  Jackdaws love my big sphinx of quartz.  Jackdaws love my big
  2  sphinx of quartz.  Jackdaws love my big sphinx of quartz.

  3  How vexingly quick daft zebras jump!

  6  Waltz, bad nymph, for quick jigs vex.  Waltz, bad nymph, for
  7  quick jigs vex.

 99  Pack  my  box with five dozen liquor jugs.  Pack my box with
100  five dozen liquor jugs.  Pack my box with five dozen  liquor
101  jugs.

The five boxing  wizards  jump  quickly.   The  five  boxing
wizards jump quickly.

$


The roff(1) manual says that `n1` and `n2` "add 5 to the page
offset" and that is indeed what they do.

I will adapt my changes accordingly.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61646>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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