[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43532] [man] abbreviate titles when too wide, instead of overlappi
From: |
G. Branden Robinson |
Subject: |
[bug #43532] [man] abbreviate titles when too wide, instead of overlapping them |
Date: |
Thu, 3 Jun 2021 11:05:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #43532 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
Summary: [man] put titles on separate lines when parts too
wide, instead of overlapping them => [man] abbreviate titles when too wide,
instead of overlapping them
_______________________________________________________
Follow-up Comment #7:
commit b7f38e8a1d698e1078d7c215d08fde57d8e919b9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Jun 4 00:41:20 2021 +1000
tmac/an-old.tmac: Fix Savannah #43532.
* tmac/an-old.tmac (an-abbreviate-title): Add new internal macro to
reduce the length of a man page title (i.e., the "ls" in "ls(1)", if
it is too wide to fit in the page header (and would overwrite the
center header material, usually the title of the manual section).
Since the beginning and end of the title might be important for
disambiguation, truncation at either end would be unwise; replace the
middle of the title with an ellipsis. Define new an-pageref and
an-title-abbv strings for use by other macros and user-defined PT and
BT traps.
(PT, an-footer): Use new an-pageref string for economy.
(an-header): Call an-abbreviate-title after setting the title length.
Fixes <https://savannah.gnu.org/bugs/index.php?43532>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?43532>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #43532] [man] abbreviate titles when too wide, instead of overlapping them,
G. Branden Robinson <=