Update of bug #67169 (group groff):

                  Status:                    None => Need Info
                 Summary: [man] URLs specified with `UR` "simply dropped" with
`-Tpdf` on Ubuntu 24.04 => [man] URLs specified with `UR` and no link text
"simply dropped" with `-Tpdf` on Ubuntu 24.04

    _______________________________________________________

Follow-up Comment #13:

Tim,

As Colin noted, this is fixed in Debian unstable (with an unblock request to
get it into the imminent trixie stable release), and should "trickle down to
newer Ubuntu releases over time".

In the meantime I have two workarounds to suggest.

Here's one you can use on a case-by-case basis, using _xtrs_'s own "Makefile"
as an example.


diff --git a/Makefile b/Makefile
index c176d0e..be381c6 100644
--- a/Makefile
+++ b/Makefile
@@ -124,10 +124,10 @@ ZMACFLAGS = -P
        html2text -nobs -style pretty $< >$@
 
 %.man.pdf: %.man
-#      groff -man -Tpdf $< > $@
-       groff -man -Tdvi $< > .tmp_$*.dvi
-       dvipdf .tmp_$*.dvi $@
-       rm -f .tmp_$*.dvi
+       groff -rU0 -man -Tpdf $< > $@
+#      groff -man -Tdvi $< > .tmp_$*.dvi
+#      dvipdf .tmp_$*.dvi $@
+#      rm -f .tmp_$*.dvi


And here's one you can put in the "man.local" file on your system.
_groff_man_(7)'s "Files" section should accurately document where that's
installed for your system.  ("/etc/groff", I expect.)


.\" If we're formatting a PDF...
.if '\*[.T]'pdf' \{\
.\" ...and groff 1.24 or later is installed...
.  if (\n[.g] & (\n[.x]=1) & (\n[.y]>23)) \{\
.    nr U 1 \" ...turn on hyperlinks.
.  \}
.\}


Let me know if either of these works.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to