groff
[Top][All Lists]
Advanced

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

Re: [Groff] Hyphenation and email/web addresses <minor www.tmac patch>


From: Greg 'groggy' Lehey
Subject: Re: [Groff] Hyphenation and email/web addresses <minor www.tmac patch>
Date: Sun, 22 Feb 2004 09:23:31 +1030
User-agent: Mutt/1.4.1i

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].

Greg
--
Note: I discard all HTML mail unseen.
Finger address@hidden for PGP public key.
See complete headers for address and phone numbers.

Attachment: pgp8LvxhkQoxT.pgp
Description: PGP signature


reply via email to

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