@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
```

to be compiled by `groff -ms test.ms -Tpdf > test.pdf`.  This can be an
advantage if you convert text in an other markup language (e.g., orgmode;
markdown in flavour as defined by Gruber, or GitHub, or Pandoc) with the
pandoc converter.  Note pandoc.org has a demo page to get familiar, in
conjunction with groff in sometimes a light-weight alternative to LaTeX
as GitHub action within a Linux runner.

On the other hand, a MWE for Peter Schaffter's mom
(http://www.schaffter.ca/mom/momdoc/toc.html) can be

```
See section 3.4 of Peter Schaffter's "Producing pdfs with groff and mom" 
.PDF_WWW_LINK https://www.schaffter.ca/mom/pdf/mom-pdf.pdf

The English edition of Wikipedia can be accessed
.PDF_WWW_LINK https://en.wikipedia.org/wiki/Main_Page "here"
```

compiled by `pdfmom test.mom > test.pdf`.

Best regards,

Norwid


Reply via email to