Re: grohtml: confused about constant-width font handling

Colin Watson <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
On Tue, Jan 20, 2026 at 03:20:55PM +0000, Colin Watson wrote:
>I'm working through some Debian packages whose tests fail with groff 
>1.24.0.rc1.  One of those is xlbiff, where there was a previous 
>attempt to improve the handling of constant-width font selection in https://github.com/edsantiago/xlbiff/commit/e0987fbbcd2304b389f70bbedb9ab9201c8bd7f1.
>
>My current plan is to add the following preamble to the affected pages:
>
>  .ie n .ds CR R
>  .el .ds CR CR
>
>... and then just use `.ft \*(CR` in each of the places where it 
>currently has a conditional.

On reflection, in this particular case I think these pages could just 
use .EX/.EE instead of messing around with fonts manually.  However, the 
HTML output problem remains.

-- 
Colin Watson (he/him)                              [[email protected]]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.