Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-15 Thread Ingo Schwarze
Hi, B 9 wrote on Mon, Jun 15, 2020 at 05:03:32PM -0700: > Jan Stary wrote: >> You say mdoc; shouldn't the links be Lk? In mdoc(7): yes, absolutely. Use .Lk in mdoc(7), .UR is not supported by mdoc(7) at all. > Good question. I had tried Lk first and it didn't seem work any better > and was les

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-15 Thread B 9
Jan Stary wrote: > You say mdoc; shouldn't the links be Lk? Good question. I had tried Lk first and it didn't seem work any better and was less well documented. The man page for 'mdoc' which comes with GNU/Linux systems (kernel.org/doc/man-pages) mentions UR and UE, but omits Lk. On the other ha

Why are Groff's macro packages not PDF-aware by default?

2020-06-15 Thread John Gardner
When preparing PDF output, Groff will automatically load PDF-specific macro packages (such as pdfmark.tmac). I'm wondering why man(7), mdoc(7) and friends aren't leveraging PDF features like outlines and clickable links. For example, headings and subheadings should logically generate an outline and

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-15 Thread Jan Stary
On Jun 14 15:50:13, hacke...@member.fsf.org wrote: > Hi! > > I've been writing up a lengthy man page using -mdoc and it's been > great so far. I love that I can also easily create a beautiful PDF > document using groff -Tpdf. But there is one problem I haven't solved: > How can I make links which