gbranden pushed a commit to branch master
in repository groff.

commit ccde5b365034548b3cc3c9095684f343db196f7e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 17 15:43:46 2026 -0500

    doc/groff-pdf-features.ms: Be more portable. (5/5)
    
    Stop assuming that we're formatting this document as a PDF.
    
    Fixes the last of the warnings emitted when formatting in nroff mode.
---
 doc/groff-pdf-features.ms | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/groff-pdf-features.ms b/doc/groff-pdf-features.ms
index 5b6254d9a..33aa8b725 100644
--- a/doc/groff-pdf-features.ms
+++ b/doc/groff-pdf-features.ms
@@ -1327,7 +1327,9 @@ it cannot plant a link if it has not
 the
 .XR naming "" "" *
 to which it links, and the link will appear as
-\m[\*[PDFHREF.TEXT.COLOUR]]Unknown\m[]
+.if '\*[.T]'pdf' .gcolor \*[PDFHREF.TEXT.COLOUR]
+Unknown
+.if '\*[.T]'pdf' .gcolor
 resisting all mouse clicks - the same happens if the
 .I destination
 of the link is mis-typed and does not exist. The forward link problem can be

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to