deri pushed a commit to branch master in repository groff. commit 56ac7ec46e7b408dcb259d03e9596d4cd916446c Author: Deri James <d...@chuzzlewit.myzen.co.uk> AuthorDate: Fri Mar 14 16:19:14 2025 +0000
[gropdf]: .pdfhref M fails with no -N/-D flag The documentation for this macro has always stated that the first word of "descriptive text" is used as the destination name if neither -N nor -D are present. * tmac/pdf.tmac: Do it. Fixes bug <https://savannah.gnu.org/bugs/index.php?66914> --- ChangeLog | 12 ++++++++++++ tmac/pdf.tmac | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88f7946bc..0e76d5d1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2025-03-14 Deri James <d...@chuzzlewit.myzen.co.uk> + + [gropdf]: .pdfhref M fails with no -N/-D flag + + The documentation for this macro has always stated that the + first word of "descriptive text" is used as the destination + name if neither -N nor -D are present. + + * tmac/pdf.tmac: Do it. + + Fixes bug <https://savannah.gnu.org/bugs/index.php?66914> + 2025-03-13 Deri James <d...@chuzzlewit.myzen.co.uk> [gropdf]: \X'pdf: pdfpic ...' scales incorrectly diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac index 4ee4809b1..98fa3ef0e 100644 --- a/tmac/pdf.tmac +++ b/tmac/pdf.tmac @@ -646,10 +646,10 @@ am solely responsible for any bugs I may have introduced into this file. . \" if we are formatting for immediate output, . \" emit PDFMARK code to establish the associated view . \" +. ds PDFBOOKMARK.NAME \\$1 . ie '\\n(.z'' \{\ . pdf:href.sety . pdfmark /Dest /\\$1 /View [\\*[PDFHREF.VIEW]] /DEST -. ds PDFHREF.NAME \\$1 . rr PDFPAGE.Y . \} . \" _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit