URL: <https://savannah.gnu.org/bugs/?68335>
Summary: [man] implement new `LS` and `LE` macros for list
managment, including inter-paragraph spacing control
Group: GNU roff
Submitter: gbranden
Submitted: Sun 10 May 2026 03:09:58 PM UTC
Category: Macro package man
Severity: 1 - Wish
Item Group: Feature change
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 10 May 2026 03:09:58 PM UTC By: G. Branden Robinson <gbranden>
[https://lists.gnu.org/archive/html/groff/2022-12/msg00075.html One of my old
ideas] has found some [https://lists.gnu.org/r/coreutils/2026-05/msg00021.html
traction among some man page authors (and a developer of _help2man_, a man
page generator)].
Current design sketch:
List enclosure macros
Lists can be nested. (Sub)sectioning macro calls, and the end of
the document, close all open lists.
.LS type [compactness [indentation]]
Start (or open) a list. type is either “definition” or
“itemized”. compactness is a Boolean value indicating that
inter‐paragraph spacing between list items should be
suppressed. indentation specifies an indentation amount for
the body of each list item; it is then unnecessary to
specify this argument to the list item macros. Use IP with
a mark argument to represent an itemized list item, and TP
for a definition list item. Use IP without arguments to
associate successive paragraphs with an existing list item;
to these, inter‐paragraph spacing applies even in compact
lists.
.LE End (or close) the most recent open list.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68335>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
