bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66006] [grog] Identifies .TS .TH .TE as a -man document


From: G. Branden Robinson
Subject: [bug #66006] [grog] Identifies .TS .TH .TE as a -man document
Date: Sat, 20 Jul 2024 12:32:52 -0400 (EDT)

Update of bug #66006 (group groff):

                  Status:                    None => Confirmed              
             Assigned to:                    None => gbranden               

    _______________________________________________________

Follow-up Comment #1:

Hi Morten,

[comment #0 original submission:]
> The grog source code has a comment:
> 
> _.TH is both a man(7) macro and often used with tbl(1).  We expect to find
.TH in ms(7) documents only between .TS and .TE calls, and in man(7) documents
only as the first macro call._
> 
> I understand the intention of this comment to be that grog should not
identify a document that has only a .TH macro between the .TS and .TE macros
to be a -man document. Yet it does. I noted this by running grog on the table
example file that was posted on the list in
<39c18b7c-000b-44c9-9047-626f15290e08@email.de>

Yes, I believe I noticed the same thing!

I'll see if there's something I can do.

There are limits to any heuristic tool's inferential power when presented with
very small inputs as we might see with minimal bug reproducers.  It's hard to
accurately guess which macro package, if any, the input uses when there hardly
*is* any input.

But, I'd like to think something can be done in this case.

> But since it has no bearing on the formatting, maybe it's not worth
bothering with?

That's a useful redoubt to retreat to, but I'll see if its necessary.  ;-)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66006>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]