Hi Francesco, You got several good answers; I wanted to add a few points.
At 2025-01-07T19:27:56+0100, Francesco Ariis wrote: > I recently discovered `groff`. As an exercises I am typesetting my > CV in it (`groff -ms`). Say I want to put the link to my personal > website, what directive/macro to invoke to make it clickable? As others noted, when producing a PDF, the heart of the solution is the `pdfhref` macro defined by "pdf.tmac". Historical macro packages long antedate the World Wide Web, so we have to add extensions to them that are URL-aware. mom, dating back only to 2002 or so, doesn't require such effort. :) At 2025-01-07T20:09:16+0100, onf via GNU roff typesetting system discussion wrote: > see section 2.5.4 of the attached PDF, which is distributed with > groff. The macros described therein are implemented by the pdfmark > macro package, so you will need to pass `-m pdfmark` to groff on > the commandline (or `.mso pdfmark.tmac` inside the document) to > make it work. A think to know is that the pdfmark contributor, Keith Marshall, has relocated development of this project. From the forthcoming groff 1.24 NEWS: * Keith Marshall's pdfmark package is no longer distributed with groff, but is now separately maintained. Please visit <https://osdn.net/users/keith/pf/groff-pdfmark/> for the latest version. At 2025-01-07T20:17:19+0100, Norwid Behrnd wrote: > @Francesco If you want to use `groff -ms`, a MWE can be this `test.ms` > > ``` > .\" PDF metadata > .pdfinfo /Title "example" > .pdfinfo /Author "pen paper" > .hy > .LP > This links to the start page of \c > .pdfhref W -D "https://en.wikipedia.org/wiki/Main_Page" -A "\c" \ > -- "English Wikipedia" > \& > .pdfsync > ``` I think this MWE can be made even more mininal; I don't think you need the `pdfsync` call. "pdf.tmac" doesn't define it. Regards, Branden
signature.asc
Description: PGP signature