URL:
  <https://savannah.gnu.org/bugs/?67367>

                 Summary: [mdoc]: value of LL and LL are not defined
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Sun 27 Jul 2025 11:17:03 PM GMT
                Category: Macro package mdoc
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 27 Jul 2025 11:17:03 PM GMT By: Bjarni Ingi Gislason <bjarniig>

[mdoc]: value of LL and LL are not defined

  This needs confirming as I have to use a script to use "nroff" from master
(there is no test-nroff there).

input file:
.tm At the top of the input file
.tm .l = \n[.l]u, LL = \n[LL]u
.tm .lt = \n[.lt]u, LT = \n[LT]u
.TH testen.manual 1 2025-07-27
.SH NAME
testen.manual
.SH
Overview
.tm -.-
.tm At the bottom of the input file
.tm .l = \n[.l]u, LL = \n[LL]u
.tm .lt = \n[.lt]u, LT = \n[LT]u

-.-

  executing (nroff from master branch)

nroff -mandoc -ww -z <file>

  shows:

At the top of the input file
.l = 1560u, LL = troff:prof.manual:2: warning: register 'LL' not defined
0u
.lt = 1560u, LT = troff:prof.manual:3: warning: register 'LT' not defined
0u
troff:prof.manual:4: warning: setting computed line length 0u to device
horizontal motion quantum
troff:prof.manual:4: warning: setting computed title length 0u to device
horizontal motion quantum
troff:prof.manual:4: warning: start index of substring out of range, set to
0
troff:prof.manual:4: warning: end index of substring out of range, set to
string length
troff:prof.manual:5: warning [page 1, line 3]: cannot adjust line; overset
by 3n
troff:prof.manual:5: warning [page 1, line 4]: cannot adjust line; overset
by 4n
troff:prof.manual:6: warning [page 1, line 4]: cannot adjust line; overset
by 15n
troff:prof.manual:6: warning [page 1, line 5]: cannot adjust line; overset
by 7n
troff:prof.manual:8: warning [page 1, line 7]: cannot adjust line; overset
by 7n
troff:prof.manual:8: warning [page 1, line 8]: cannot adjust line; overset
by 4n
-.-
At the bottom of the input file
.l = 24u, LL = 0u
.lt = 1560u, LT = 0u

-.-

nroff -man -ww -z <file>

  shows:

At the top of the input file
.l = 1560u, LL = 1920u
.lt = 1560u, LT = 1920u
-.-
At the bottom of the input file
.l = 1920u, LL = 1920u
.lt = 1560u, LT = 1920u









    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to