Hi Branden,

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
        alx@devuan:~/tmp$ groff -man -Tutf8 syys.man 
        troff:syys.man:13: warning [page 1, line 7]: cannot break line
        a(s)                                                                    
    a(s)

        g
             foo bar
             fooooooo baaaaaaaaaaaaaaaaaaaar baaaaaaaaaaaaaaaaaaaaz
                 qwwwwwwwwwwwwwwwwwwwwe zxxxxxxxxxxxxxxxxxxxxc
             fooooooooooooooooooooooooooooooooooooooooooooooooo 
baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar

        f                                       d                               
    a(s)

I expect that in the third command, ba*ar should be put on the next line
and indented.

        $ groff --version
        GNU groff version 1.23.0.2695-49927
        Copyright (C) 1989-2023 Free Software Foundation, Inc.
        This is free software, distributed under the terms of the GNU General 
Public
        License, version 3, or any later version, at your option.  There is NO 
warranty;
        not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

        programs in constructed pipeline:

        GNU grops (groff) version 1.23.0.2695-49927
        GNU troff (groff) version 1.23.0.2695-49927


Have a lovely day!
Alex


-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to