[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Hyphenation and email/web addresses <minor www.tmac p atch>
From: |
Gaius Mulley |
Subject: |
Re: [Groff] Hyphenation and email/web addresses <minor www.tmac p atch> |
Date: |
23 Feb 2004 08:23:00 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greg 'groggy' Lehey <address@hidden> writes:
> On Friday, 20 February 2004 at 8:25:46 +0000, Gaius Mulley wrote:
> > Larry Kollar <address@hidden> writes:
> >
> >> On Wednesday, February 18, 2004, at 03:07 PM, (Ted Harding) wrote:
> >>
> >>>> like to prevent email addresses and URLs from being hyphenated as
> >>>> this may cause them to be interpreted incorrectly.
> >>>
> >>> The simplest way to do this would be to precede each such thing
> >>> with the request .nh, and follow it with .hy, for instance
> >>>
> >>> ...
> >>> Andy Crichton's email address is
> >>> .nh
> >>> address@hidden
> >>> .hy
> >>> to which you may email any queries.
> >>
> >> Could this be built into the .MTO and .URL macros in -mwww?
> >
> > good idea.. I think this patch fixes the problem..
> >
> > ...
> > . if !r ps4html .ad
> > +. hy
>
> This sets the hyphenation mode unconditionally, even if it was turned
> off before. You need to save the previous mode and restore it. If I
> read groff(7) correctly, this is stored in \n[.hy].
Hi Greg,
yes thanks for spotting this!
Gaius