bugGNU roff - Bugs: bug #65480, [mdoc] `Nm` value not reset...

 
 

bug #65480: [mdoc] `Nm` value not reset between pages when formatting PDF, PostScript

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 18 Mar 2024 04:54:54 PM UTC
   
 
Category:  Macro mdoc Severity:  4 - Important
Item Group:  Incorrect behaviour Status:  In Progress
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Mar 2024 05:23:42 PM UTC, comment #1: 

I have a fix.

G. Branden Robinson <gbranden>
Group administrator
Mon 18 Mar 2024 04:54:54 PM UTC, original submission:  

This is a regression from groff 1.22.4, introduced in groff 1.23.0.

When you format 2 mdoc pages back to back, `Nm` calls in the second interpolate the name of the first.

But only with groff 1.23.0, and only with some output drivers, not including "utf8".

...unless you specify `-rcR=0`, disabling continuous rendering.

So this is another page trap/end macro sort of problem.

G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    17:23 gbranden StatusConfirmed In Progress

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code