[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with mom's .PDF_WWW_LINK macro
From: |
T. Kurt Bond |
Subject: |
Problem with mom's .PDF_WWW_LINK macro |
Date: |
Thu, 22 Apr 2021 20:10:55 -0400 |
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, tkurtbond@gmail.com, https://tkurtbond.github.io
mom-link.pdf
Description: Adobe PDF document
- Problem with mom's .PDF_WWW_LINK macro,
T. Kurt Bond <=