bugGNU roff - Bugs: bug #58949, [mdoc] adapt to use the facilities...

 
 

bug #58949: [mdoc] adapt to use the facilities of pdfmark

Submitter:  None
Submitted:  Thu 13 Aug 2020 10:35:34 PM UTC
   
 
Category:  Macro mdoc Severity:  1 - Wish
Item Group:  Feature change Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Mar 2022 09:21:30 AM UTC, comment #2: 

This was fixed a month ago.


commit 98112bfecad04b5568755cc531cc86d0b4553cf5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Jan 28 02:33:22 2022 +1100

    Implement PDF bookmark support for man pages.

    Limitation: A (sub)section can only be bookmarked if it is specified in
    the arguments to the `SH` or `SS` requests, not on the next line in an
    input trap.  Thanks to Deri James for providing the fundamentals (blame
    me for any weird bits).

[...]

    * tmac/mdoc/doc-common: Add straw-man implementation--it doesn't support
      the `BM` and `BN` configuration parameters yet.  (This is enough to
      get the groff_mdoc(7) page to correctly appear in the new
      'groff-man-pages.pdf' document.)

      (Dt, Sh, Ss): If the output device is 'pdf', place bookmarks in the
      document at levels 1, 2, and 3.


The `BM` and `BN` stuff did not survive further scrutiny; the term "straw-man" above is now misleading.  groff mdoc(7) has feature parity with groff man(7) in this respect now.

G. Branden Robinson <gbranden>
Group administrator
Mon 26 Jul 2021 07:59:10 AM UTC, comment #1: 

Keith posted more discussion germane to this: http://lists.gnu.org/archive/html/groff/2021-07/msg00103.html

Dave <barx>
Group Member
Thu 13 Aug 2020 10:35:34 PM UTC, original submission:  

Keith Marshall observes that "use of a macro set which has not been adapted to use the facilities of pdfmark" means that links are not clickable when rendering to PDF.

He goes on to say, "When I wrote pdfmark, I provided a small wrapper for -ms, to illustrate how the ms macros might be adapted, but I didn't modify ms itself, and I left it as an exercise for others, to adapt other macro sets.  AFAIK, that never happened."

Anonymous

 

(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 (Posted a comment)
  •  

    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
    2022-03-01 gbranden StatusNone Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2021-07-26 barx Carbon-CopyRemoved 93119 -
    2021-06-04 barx Carbon-CopyRemoved 93119 -
    2021-06-04 barx Severity3 - Normal 1 - Wish
        Summaryadapt -mdoc to use the facilities of pdfmark [mdoc] adapt to use the facilities of pdfmark

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code