Hello groff users,
how to render clickable links in PDF documents?
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?
Thanks in advance
—F
Il 07 gennaio 2025 alle 19:27 Francesco Ariis ha scritto:
> Hello groff users,
>
> how to render clickable links in PDF documents?
onf, Deri, Norwid, Branden,
thanks for your excellent (useful, thorough, linking to documentation
where necessary) answers.
Great way to welcome a
Hello groff users,
how to convert .tff fonts to something usable by `groff`, without
sudo access?
I am learning groff and I feel thee need to use a fonts with more
glyphs than what standard fonts offer (e.g.: ◇ U+25C7, ❦ U+2766, etc.)
I came around the excellent `install-font.sh` [1]. It see
Hello groff users,
can I format/scale numbers when interpolating them?
Long explanation follows.
While writing a minimal reproducible example for this list,
I found myself typing:
Line length is set to:
.nr calc \n[.l]/1c
\n[calc]
Notice how, to interpolate line length in centim
Dear groff users,
a question about table width and line width.
Attached is an MRE which displays my problem, which you can
run with `groff -ms -t -Tpdf test.ms > out.pdf`
In the document:
1. line width is set to 17cms
2. I insert a table and would like it to fill the whole 17cms
3. this does
Il 23 febbraio 2025 alle 21:40 G. Branden Robinson ha scritto:
> You're doing some non-idiomatic things with the ms(7) package and the
> tbl(1) preprocessor.
>
> The ms package does not expect you to reconfigure the formatter's line
> length ad hoc within the document. Instead, if you require a
>
Il 21 febbraio 2025 alle 16:41 G. Branden Robinson ha scritto:
> Hi Francesco,
>
> At 2025-02-21T16:19:25+0100, Francesco Ariis wrote:
> > can I format/scale numbers when interpolating them?
>
> Not without arithmetic, as far as I know.
Thanks, my mind is at peace now that I know for sure!
Hello Deri,
Il 25 febbraio 2025 alle 20:49 Deri ha scritto:
> If you change it to:-
>
> .pdfhref W -D \\$[1] -- "\Z'\\$[2]'\v'0.25m'\D'l \w'\\$[2]'u 0'\v'-.25m'"
>
> You won't see the error. In the next version of groff this is not necessary,
> you don't need the "--".
many thanks, excellent!
Dear groff users,
please help me diagnose a groff warning message.
I have a macro to typeset clickable URLS as underlined:
.de link
.pdfhref W -D \\$[1] "\Z'\\$[2]'\v'0.25m'\D'l \w'\\$[2]'u 0'\v'-.25m'"
..
(I did not write this macro myself, but went through it escape by escape