Hi Alex, At 2025-06-05T16:04:17+0200, Alejandro Colomar wrote: > I met a bug in SY/YS. Here's a reproducer: > > alx@devuan:~/tmp$ cat syys.man > .TH a s d f > .SH g > .SY foo > bar > .YS . > .SY fooooooo > baaaaaaaaaaaaaaaaaaaar > baaaaaaaaaaaaaaaaaaaaz > qwwwwwwwwwwwwwwwwwwwwe > zxxxxxxxxxxxxxxxxxxxxc > .YS . > .SY fooooooooooooooooooooooooooooooooooooooooooooooooo > baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar > .YS
Yes, I see. Can reproduce with groff's Git trunk.
$ nroff -v | tail -n 2
GNU grotty (groff) version 1.23.0.3332-db04b
GNU troff (groff) version 1.23.0.3332-db04b
$ nroff -man ATTIC/alex.man
troff:ATTIC/alex.man:13: warning [page 1, line 7]: cannot break line; overset
by 12n
a(s) a(s)
g
foo bar
fooooooo baaaaaaaaaaaaaaaaaaaar baaaaaaaaaaaaaaaaaaaaz
qwwwwwwwwwwwwwwwwwwwwe zxxxxxxxxxxxxxxxxxxxxc
fooooooooooooooooooooooooooooooooooooooooooooooooo
baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar
f d a(s)
That sure looks like misbehavior. I'll see what I can figure out.
> I expect that in the third command, ba*ar should be put on the next line
> and indented.
Me too.
Regards,
Branden
signature.asc
Description: PGP signature
