Follow-up Comment #20, bug #67363 (group groff):

Hi Russ,

At 2025-08-13T16:17:43-0700, Russ Allbery wrote:
> "G. Branden Robinson" <invalid.nore...@gnu.org> writes:
>> Anywhere after the `TH` call and before the first line break in body
>> text that would occur in the rendered document.
> 
> Okay, I have removed ".if n .ds AD l" from the document preamble and now
> have, immediately after the .TH macro:
> 
> .\" For nroff, turn off justification. Always turn off hyphenation. String
> .\" and register settings are required by groff 1.23.0 and later.
> .if n .ds AD l
> .if n .ad l
> .nr HY 0
> .nh
> 
> Some of my test infrastructure wanted the .nh command to be last, and this
> was easier than adjusting it.

That all looks fine.  When grouped together like this, GNU _troff_ -- any
*roff, really -- should be indifferent to the ordering of these requests.

> I have confirmed this continues to work as
> expected with groff 1.23.0.

Excellent!

> If you would like to test with the output of the new podlators to be (not
> that this is expected or should be necessary, I hope), you can do
> something like the following:
> 
> git clone https://git.eyrie.org/git/perl/podlators.git
> cd podlators
> perl Makefile.PL
> make
> perl -I blib/lib blib/script/pod2man scripts/pod2man > pod2man.1
> 
> to generate an *roff document for testing. The last argument can be
> replaced with any other file name containing POD source.

I am indeed curious to do this, and will let you know if/when my round
tuits accrue appropriately.  But don't gate your release on me! 

> I hope to make a new release in the next few days.

Good luck!  I wish I could say the same.

> I have been including a few commands and a comment immediately after .TH
> for a while, so hopefully the addition of a couple more commands won't
> make any difference.

I have no concrete, specific reason to suspect any misbehavior.  If I knew
of an anemic implementation such that I feared a hazard here, I'd tell you.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to