groff
[Top][All Lists]
Advanced

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

Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4


From: G. Branden Robinson
Subject: Re: pdfroff in groff 1.23.0.rc3 changes compared to 1.22.4
Date: Wed, 5 Apr 2023 18:07:28 -0500

At 2023-04-05T13:04:45-0500, Dave Kemper wrote:
> The missing page break you're seeing here is due to a combination of
> factors:
>  - Immediately before the .bp, you call the .DE macro
>  - The .DE macro was recently modified to invoke the .ns request.
>  - When no-space mode (.ns) is in effect, a .bp is ignored.  (This is
> long-established roff behavior.)
> 
> The .ns request was added to .DE to address a rendering issue with
> multiple displays in a row.  (See http://savannah.gnu.org/bugs/?62688
> for the full story.)  Your case appears to be an unintended side
> effect.

Yes, this is a full-on bug in groff Git, and it's my fault.  I've filed
https://savannah.gnu.org/bugs/?64005 about it.

It is a regression from 1.22.4, so I will work on it right away, and
hope to have it in place by this weekend so Bertrand can consider it for
1.23.0.rc4.

> The simplest solution is to turn off no-space mode yourself (using the
> .rs request) before the call to .bp.  A more general solution for you
> might be to write your own simple new-page macro that always does this
> for you:
> 
> .de BP
> .rs
> .bp
> ..
> 
> I'll let Branden address whether his 62688 fix should be tweaked to
> account for this.

Absolutely (see the Savannah ticket linked above for how I reached this
level of certainty).

And I have an idea for a solution that isn't dissimilar to yours.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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