groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] .UR man request


From: Werner LEMBERG
Subject: Re: [Groff] .UR man request
Date: Fri, 29 Jun 2001 14:37:33 +0200 (CEST)

> The man page man(7) (January 2001, Linux) talks about Hypertext Link
> Macros .UR, .UE, .UN, being unavailable in groff -man.
> 
> They seem to have been taylored for the man2html utility.
> 
> Are there similar hyperlink constructions for plain groff?

`Plain groff'?  What do you mean?  Using those hypertext macros
unconditionally prevents man pages from being portable...

A possible solution is to have something like this in the header of a
particular man page:

  .ie \n(.g \{\
  .  mso www.tmac
  .
  .  de UN
  .    URL \\$1 \\$1
  ..
  .\}
  .el \{\
  .  de UN
  .    <do something>
  ..
  .\}

groff's .URL macro is much more powerful than .UN -- .UR/.UE looks
strange to me anyway.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]