[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65215] .MT/.ME and .UR/.UE should result in hyperlink for pdf outp
From: |
Deri James |
Subject: |
[bug #65215] .MT/.ME and .UR/.UE should result in hyperlink for pdf output |
Date: |
Fri, 26 Jan 2024 14:14:10 -0500 (EST) |
Update of bug#65215 (group groff):
Status: In Progress => Fixed
_______________________________________________________
Follow-up 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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65215>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/