groff
[Top][All Lists]
Advanced

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

Re: [Groff] Progress report on the portability audit -- and what to do a


From: Werner LEMBERG
Subject: Re: [Groff] Progress report on the portability audit -- and what to do about URLs?
Date: Fri, 12 Jan 2007 22:37:12 +0100 (CET)

> > Perhaps something like this:
> > 
> >   .if \n(.g \{\
> >   .  do mso www.tmac
> >   .  do als UR URL
> >   .  do als MT MTO
> >   .\}
> >   .el \{\
> >   .  de UR
> >   .  ...
> >   .  de MT
> >   .  ...
> >   .\}
> > 
> > together with an update of www.tmac which says that man pages
> > should only use the two macros .UR and MT (which would be aliases
> > to .URL and .MTO, respectively).
> 
> There's a problem with this.  .UR is already in use on some Linux 
> manual pages, paired with .UE.  The usage is
> 
> .UR http://foo/bar
> Link text
> .UE

This is even better because we can avoid conflicts with the .URL
macro.  So let's add .UR and .UE, ignoring the .MTO macro -- the
latter can be realized as

  .UR mailto:address@hidden
  Foo Bar
  .UE


    Werner




reply via email to

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