bug-groff
[Top][All Lists]
Advanced

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

[bug #64912] [man] HP macro puts excess vertical space in output


From: G. Branden Robinson
Subject: [bug #64912] [man] HP macro puts excess vertical space in output
Date: Mon, 20 Nov 2023 00:33:33 -0500 (EST)

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

                 Summary: [man] HP macro puts excess vertical space in output
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Mon 20 Nov 2023 05:33:31 AM UTC
                Category: Macro man
                Severity: 4 - Important
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 20 Nov 2023 05:33:31 AM UTC By: G. Branden Robinson <gbranden>
Input:


$ cat EXPERIMENTS/HP-in-synopsis.man
.TH foo 1 2023-11-19 "groff test suite"
.SH Name
foo \- frobnicate a bar
.SH Synopsis
.HP 12n
.B foo \-our \-command \-synopsis \-is \-hanging \-its \-paragraph \-way
.B \-out \-there \-as \-you \-can \-see \-on \-a \-narrow \-terminal


groff 1.22.4 output:


$ /usr/bin/nroff -v
GNU nroff (groff) version 1.22.4
$ /usr/bin/nroff -man EXPERIMENTS/HP-in-synopsis.man
foo(1)                      General Commands Manual                    
foo(1)



Name
       foo - frobnicate a bar

Synopsis
       foo  -our  -command  -synopsis  -is  -hanging -its -paragraph -way
-out
                   -there -as -you -can -see -on -a -narrow -terminal



groff test suite                  2023‐11‐19                           
foo(1)


groff 1.23.0 output:


$ ~/groff-stable/bin/nroff -v
GNU nroff (groff) version 1.23.0
GNU groff version 1.23.0
Copyright (C) 2022 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file
named COPYING.

called subprograms:

GNU grotty (groff) version 1.23.0
GNU troff (groff) version 1.23.0
$ ~/groff-stable/bin/nroff -man EXPERIMENTS/HP-in-synopsis.man
foo(1)                      General Commands Manual                    
foo(1)

Name
       foo - frobnicate a bar

Synopsis


       foo  -our  -command  -synopsis  -is  -hanging -its -paragraph -way
-out
                   -there -as -you -can -see -on -a -narrow -terminal

groff test suite                  2023‐11‐19                           
foo(1)


Get rid of those 2 vees of space after the "Synopsis" section heading.

This is a regression in _groff_ 1.23.0 relative to 1.22.4, so setting severity
to important.

(The reduced quantity of blank lines after the page header and before the page
footer was a deliberate change for continuous rendering mode.)







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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