Adding -rU0 in the Makefile works on my Ubuntu 24.04 system. I didn't understand the point of the man.local change and didn't try that one; sorry. I don't have groff 1.24 installed, as 24.04 comes with groff 1.23.
I think I'll push the Makefile change to github, along with a comment that it's a workaround for https://savannah.gnu.org/bugs/?67169 and can be removed if that bug doesn't affect your system. On Sat, Jun 7, 2025 at 9:55 AM G. Branden Robinson <invalid.nore...@gnu.org> wrote: > 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/ >