Here's a mom source file I cut down from contrib/mom/examples/mom-pdf.mom in the groff distribution, from a very recent git pull.
.PAPER Letter .PRINTSTYLE TYPESET .TITLE "Testing mom's PDF_WWW_LINK macro" .char \[pdfmom] \*[BD]pdfmom\*[PREV] .char \[-P-p<papersize>] \*[BD]\-P\-p<papersize>\*[PREV] .char \[-Tpdf] \*[BD]\-Tpdf\*[PREV] .START .PP One reason to prefer using the native PDF driver (via \[pdfmom] or \[-Tpdf]) is that papersizes set within mom source files (see .PDF_WWW_LINK http://www.schaffter.ca/mom/momdoc/typesetting.html#page-setup-intro SUFFIX ) \ "paper and page setup macros" do not require a corresponding \[-P-p<papersize>] flag on the command line. In the PDF file I generated from this (attached to this message) the URL in the link is: http://www.schaffter.ca/mom/momdoc/typesetting.html%23page-setup-intro Notice the "%23" instead of the "#"? Following this link results in a 404 error. Why did this happen? groff --version reports "GNU groff version 1.23.0.rc1.340-0dab6". -- T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
mom-link.pdf
Description: Adobe PDF document