gbranden pushed a commit to branch master
in repository groff.
commit eb864330c7c2ad33b67d490db463db9317da2c86
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 14 10:39:27 2026 -0500
doc/groff-pdf-features.ms: Be more portable. (2/5)
Call ms(7)'s own `XM` macro instead of `pdfhref M` call.
---
doc/groff-pdf-features.ms | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/groff-pdf-features.ms b/doc/groff-pdf-features.ms
index 4d2e1aeef..81679a1e9 100644
--- a/doc/groff-pdf-features.ms
+++ b/doc/groff-pdf-features.ms
@@ -440,7 +440,7 @@ Although there could be several lines of input text, it is
the
accumulated output line which is used as
.Qq "descriptive text" .
.LP
-.pdfhref M -N hdexample ms Heading Example
+.XM hdexample "\f[I]ms\f[] Heading Example"
So this input:
.ID
.ft CB
@@ -469,7 +469,7 @@ entry.
Note if the input text results in multiple output lines it is
only the first output line which is used as the bookmark text.
.LP
-.pdfhref M -N XN Using .XN
+.XM NM "Using .XN"
The second method, which combined the
.Qq heading
with populating a
@@ -573,7 +573,7 @@ figure to which you may want to refer. See information
below.
.Lt pdf.tmac
.BOXSTOP
.LP
-.pdfhref M -N pdfhrefM
+.XM pdfhrefM
This macro will plant a named destination without inserting a bookmark.
.QS
.Lt ".pdfhref M"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit