bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62933] [man] produce hyperlinks in PDF output


From: Deri James
Subject: [bug #62933] [man] produce hyperlinks in PDF output
Date: Sun, 21 Aug 2022 12:02:19 -0400 (EDT)

Follow-up Comment #1, bug #62933 (project groff):

.MR only makes sense in pdf output when dealing with a man page collection in
a single volume, a-la Branden's new groff-man-pages. The reason is because the
link to a separate man page requires a protocol handler which fires of a call
to mandb to produce the man page in pdf format which then triggers your
default pdf viewer.

Now this all "do-able", there is even a man:// protocol, but under kde5 this
is hard coded to run man2html (which is horrible), under kde4 it was possible
to alter this. Under desktops which fully support the xdg commands it is
possible to use this protocol to present all man pages as pdfs.

Before .MR was added to man I wrote a script which detects references to
external man pages and inserts the appropriate .pdfhref commands, should be
easy to add the appropriate .MR command instead. An example of this in action
can be seen at:-

http://chuzzlewit.co.uk

When .MR is used in a volume of man pages I have shared a patch with Branden
which links the pages. The result is attached.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62933>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]