bugGNU roff - Bugs: bug #65215, [man] .MT/.ME and .UR/.UE should...

 
 

bug #65215: [man] .MT/.ME and .UR/.UE should make hyperlinks in PDF

Submitter:  Deri James <deri>
Submitted:  Fri 26 Jan 2024 01:27:39 PM UTC
   
 
Category:  Macro package man Severity:  1 - Wish
Item Group:  Rendering/Cosmetics Status:  Fixed
Privacy:  Public Assigned to:  deri
Open/Closed:  Closed Planned Release:  1.24.0
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Fri 26 Jan 2024 07:14:09 PM UTC, comment #1: 

Fixes committed.

commit d71f9264f8c187aee1161f27cda7d42c4ad7065e
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Fri Jan 26 15:47:28 2024 +0000

    .MT/.ME and .UR/.UE hyperlinking for pdf output

    Our documentation groff_man.7 documents that these requests are
    for hyperlinks. The .pdfhref W command expects the hotspot text
    to be passed as a parameter, but these pairs of requests enclose
    the required text. To solve this conundrum if the given
    hyperlink text to the .pdfhref request is the single pipe
    character "|" then mark all following text sent for output as
    the hotspot, terminate the hotspot on receipt of \X'pdf:
    markend' escape. This new facility is only available using -T
    pdf, not using -T ps and the pdfmark macros. Note the advice in
    the gropdf man page to use \X'pdf: marksuspend' and \X'pdf:
    markrestart' to protect any headers and footers becoming part of
    the hotspot in case the hyperlinked text crosses a page
    boundary.

    * tmac/an.tmac: add code to use .pdfhref W for these hyperlinks
    and protect against crossing page boundaries.

    * tmac/pdf.tmac: if the given text for a hyperlink consists of
    a single pipe character "|", start the hotspot and only
    terminate when \X'pdf: markend' is received.

Deri James <deri>
Group Member
Fri 26 Jan 2024 01:27:39 PM UTC, original submission:  

These macros are meant to produce hyperlinks (according to groff_man(7)).

Deri James <deri>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

Digest:
   bug dependencies.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-02-02 gbranden Planned ReleaseNone 1.24.0
    2024-01-31 gbranden Dependencies- bugs #62933 is dependent
    2024-01-31 gbranden Summary.MT/.ME and .UR/.UE should result in hyperlink for pdf output [man] .MT/.ME and .UR/.UE should make hyperlinks in PDF
    2024-01-26 barx Open/ClosedOpen Closed
    2024-01-26 deri StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.16-8b18.
    Corresponding source code