Bug 252647 - etcupdate.8: in print, the capital letter M is wider than either of the capital letters A, C, D, and U
Summary: etcupdate.8: in print, the capital letter M is wider than either of the capit...
Status: Closed Not A Bug
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-13 19:29 UTC by Trond.Endrestol
Modified: 2021-01-21 11:10 UTC (History)
1 user (show)

See Also:


Attachments
Patch for usr.sbin/etcupdate/etcupdate.8 (344 bytes, patch)
2021-01-13 19:29 UTC, Trond.Endrestol
no flags Details | Diff
Patch for usr.sbin/etcupdate/etcupdate.8 (568 bytes, patch)
2021-01-15 13:34 UTC, Trond.Endrestol
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond.Endrestol 2021-01-13 19:29:32 UTC
Created attachment 221541 [details]
Patch for usr.sbin/etcupdate/etcupdate.8

In print, the capital letter M is wider than either of the capital letters A, C, D, and U in the table for possible actions. Attached is a patch for usr.sbin/etcupdate/etcupdate.8.
Comment 1 Trond.Endrestol 2021-01-15 13:33:08 UTC
Also, in the section "Resolve Mode", in print, "(mf) mine-full" is wider than "(tf) theirs-full".
Comment 2 Trond.Endrestol 2021-01-15 13:34:59 UTC
Created attachment 221597 [details]
Patch for usr.sbin/etcupdate/etcupdate.8

Corrects the width of the first columns of both tables in etcupdate.8
Comment 3 Trond.Endrestol 2021-01-15 17:55:37 UTC
I think this PR clearly shows the limitations of the mandoc system when one output format uses fixed-width characters and other output formats uses variable-width characters. Maybe the next best thing is to select column widths that are output format agnostic, i.e. my first patch correcting only the action table, and leave the rest to be tweaked manually as needed.
Comment 4 Trond.Endrestol 2021-01-21 11:10:03 UTC
There's no need to let this PR linger.