bugGNU roff - Bugs: bug #59246, andoc doesn't clean up mdoc traps

 
 

bug #59246: andoc doesn't clean up mdoc traps

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sat 10 Oct 2020 03:26:08 PM UTC
   
 
Category:  Macro - others/general Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Jun 2022 10:23:32 PM UTC, comment #2: 


commit 3b4d8acafe320ce95988b715f144ec4049903e08
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sun Oct 11 03:19:10 2020 +1100

    tmac/andoc.tmac: Remove mdoc traps correctly.

    * tmac/andoc.tmac: Remove traps set by mdoc package by the names they
      actually use.

    Problem appears to date back to the multi-package-supporting  rewrite of
    andoc.tmac in 7351ffde2ef55946eb22d49359885c4c1bac21d1, 4 October 2008.

    Fixes <https://savannah.gnu.org/bugs/index.php?59246>.


G. Branden Robinson <gbranden>
Group administrator
Sun 11 Oct 2020 08:26:12 AM UTC, comment #1: 

Fixed in c22725f99808af59dc127b07c69ff151800b1e10.

G. Branden Robinson <gbranden>
Group administrator
Sat 10 Oct 2020 03:26:08 PM UTC, original submission:  

Rendering an mdoc(7) page followed by a man(7) page with continuous rendering disabled leads to unhappy results with groff 1.22.4.


$ $ zcat $(man -w groff_mdoc groff_me) | groff -Tutf8 -t -man -rcR=0
[...MUCH later...]
groff 1.22.4                   28 February 2019                            246





GROFF_ME(7)            Miscellaneous Information Manual            GROFF_ME(7)


BSD                            November 2, 2010                            247


Yes, that's right, 200+ useless blank pages.  groff_me page content, apart from header information, never actually renders.

I'm reasonably confident this is caused by andoc.tmac not cleaning up the traps that mdoc sets.

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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-11 gbranden StatusNone Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code