URL: <https://savannah.gnu.org/bugs/?68309>
Summary: [grohtml] want monospaced fonts back in man pages
Group: GNU roff
Submitter: gbranden
Submitted: Thu 07 May 2026 01:01:48 AM UTC
Category: Driver grohtml
Severity: 4 - Important
Item Group: Rendering/Cosmetics
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 07 May 2026 01:01:48 AM UTC By: G. Branden Robinson <gbranden>
Setting Severity to Important because the observed behavior regresses a
_groff_ 1.23.0 rendering that people were happy with, or at least had gotten
used to, and real users are raising concerns with practical documents.
[https://lists.gnu.org/archive/html/groff/2026-01/msg00096.html Issue
originally raised by Colin Watson in January on the _groff_ development
mailing list.]
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135028 Stephen Gildea
raised it again in Debian #1135028.]
Idea: Modify the `EX` and `EE` macro definitions in "tmac/an.tmac".
1. In `EX`, if the output device is "html", add something like this:
<style>
font-family: monospace;
</style>
Since that's multiple lines, I might have to use the `devicem` request or `\Y`
escape sequence instead of `device` or `\X`; we'll see.
2. In `EE`, if the output device is "html", unwind the foregoing.
The problem here is, I don't know *how* to unwind it. So, what I might do in
(1) is use "<div style="> instead, then have `EE` emit the `</div>`. Yeah,
[https://lists.gnu.org/archive/html/groff/2026-01/msg00112.html Ingo crapped
on this idea] but if it gets the job done and no one gives me any help
achieving more elegant HTML/CSS, I may have to go with it. Most of what
_grohtml_ emits is Y2K-era Web stuff anyway--would this really be the biggest
wart on it?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68309>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
