[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on hyperlinks in groff
From: |
John Gardner |
Subject: |
Re: Question on hyperlinks in groff |
Date: |
Wed, 30 Mar 2022 08:25:59 +1100 |
Hi Chems,
When reading the s.tmac file, specifically the description for the .[
> macro, it mentions a macro called .#, but I can't find its definition
> anywhere.
>
Both the .[ and .# macros belong to the Mono package
<https://github.com/Alhadis/Mono>. This is a project of mine (i.e., not
part of Groff) although it currently doesn't support DVI hyperlinks. In
fact, I wasn't aware DVI even supported interactivity (then again, my
knowledge of anything TeX-related is less than rudimentary).
Please be aware that the .[ macro in particular is largely unfinished, and
there are lots of rough edges I still haven't smoothed out.
Regards,
— John
On Sat, 26 Mar 2022 at 04:04, Chems Eddine Naimi <shemseddinenaimi@gmail.com>
wrote:
> Hello everyone,
>
> I'm pretty new to groff, and I've been playing with the tmac files,
> writing my own macros and all. Now I'm trying to implement internal links
> in dvi documents.
>
> When reading the s.tmac file, specifically the description for the .[
> macro, it mentions a macro called .#, but I can't find its definition
> anywhere. I tried greping the whole directory but to no avail. Here's the
> passage I'm talking about :
> .\" Examples:
> .\" .[ eBay ]( https://ebay.com )
> .\" .[ Contact ]< contact@author.com >
> .\" .[ Term ][ term-id ] *\" See .#*
> External links to sites and e-mails work fine, but I can't find a way to
> declare any term-id for use in internal links.
>
> Thank you in advance for your help,
> Chems.
>