bugGNU roff - Bugs: bug #65047, modify .PS, .PF, and .PY to work...

 
 

bug #65047: modify .PS, .PF, and .PY to work with grohtml

Submitter:  Dave <barx>
Submitted:  Tue 19 Dec 2023 09:10:13 AM UTC
   
 
Category:  Macro - others/general Severity:  1 - Wish
Item Group:  Feature change Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.24.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Dec 2023 01:47:57 AM UTC, comment #3: 


commit ccb4f3a4278e4c49e0744179e708cd5cb2a1e86e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Dec 27 14:49:11 2023 -0600

    Support HTML with formatting w/ "fallback" pic.

    Support pic(1) pictures when formatting HTML and using "fallback" pic
    macros.

    * tmac/pic.tmac (PS): Call `HTML-IMAGE` at end of macro definition.
    * tmac/pic.tmac (PF): Call `HTML-IMAGE-END` at end of macro definition.
      (`PE` and `PY` call `PF`, and so are also handled.)

    Fixes https://savannah.gnu.org/bugs/?65047> (2/2).  Thanks to Hans
    Bezemer and Dave Kemper for the report.

commit 8762547275918a307338d6f98ecbc989e772a422
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Dec 27 14:43:36 2023 -0600

    [mm]: Support pic(1) pictures when formatting HTML.

    * contrib/mm/m.tmac (PS): Call `HTML-IMAGE` at end of macro definition.
    * contrib/mm/m.tmac (PY): Call `HTML-IMAGE-END` at end of macro
      definition.  (`PE` calls `PY`, and so is also handled.)

    Fixes https://savannah.gnu.org/bugs/?65047> (1/2).  Thanks to Hans
    Bezemer and Dave Kemper for the report.

    ANNOUNCE: Acknowledge Hans.


G. Branden Robinson <gbranden>
Group administrator
Wed 27 Dec 2023 04:45:30 AM UTC, comment #2: 

[Repost of comment #1 without copy/paste error]

If .HTML-IMAGE and .HTML-IMAGE-END are stand-alone macros (i.e., they don't require initialization or cleanup from other macros), seems like they should be added to the fallback PS and PF macros of tmac/pic.tmac as well.  (This file defines both .PE and .PY in terms of .PF.)

Dave <barx>
Group Member
Tue 19 Dec 2023 10:53:14 PM UTC, comment #1: 

If .HTML-IMAGE and .HTML-IMAGE-END are stand-alone macros (i.e., they don't require initialization or cleanup from other macros), seems like they should be added to the fallback PS and PF macros of and .HTML-IMAGE-ENDnah.gnu.org/cgit/groff.git/tree/tmac/pic.tmac tmac/pic.tmac as well.  (This file defines both .PE and .PY in terms of .PF.)

Dave <barx>
Group Member
Tue 19 Dec 2023 09:10:13 AM UTC, original submission:  

The -mm definitions of .PS and .PY lack calls to .HTML-IMAGE and .HTML-IMAGE-END, which prevents pic images from showing up in HTML output.  (Fixing .PY will also cover .PE, since the latter calls the former.)

See thread starting at http://lists.gnu.org/r/groff/2023-11/msg00081.html

Dave <barx>
Group Member

 

(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 (Updated the item)
  • -email is unavailable- added by barx (Submitted the item)
  • -email is unavailable- added by barx (reported the bug on the email list)
  •  

    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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-28 gbranden StatusIn Progress Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.24.0
    2023-12-27 gbranden StatusNone In Progress
    2023-12-19 barx CategoryMacro mm Macro - others/general
        Summary[mm] modify .PS and .PY to work with grohtml modify .PS, .PF, and .PY to work with grohtml
    2023-12-19 barx Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code