1

How can I create a hyperlink to a URL in groff, using the mom macros?

I know it is possible to create links to other sections within the same document, but I want to know how to create a clickable hyperlink to a webpage in groff.

1 Answer 1

1

You can use the mom macro PDF_WWW_LINK:

.PDF_WWW_LINK https://example.com "the link"

This seems to be documented in the mom-pdf.pdf file, but in my Fedora distribution the file is empty, but there are the sources: mom-pdf.mom.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.